Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Delete feedback

Deletes an existing feedback record by its UUID.

Reviews
DELETE/api/v1/feedbacks/{id}

DeleteFeedback is an administrator-only command in Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs (DELETE /rating/api/v1/feedbacks/{id}) that deletes an existing FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs record from Azure Cosmos DB, publishes Feedback deletedEventv1.0.0Feedback deletedIndicates that a customer feedback rating was deleted for a book. Rating API publishes this event so Catalog can remove ...Ownercatalog-experience-teamSchemaDiagramOpen docs to Kafka, invalidates cached feedback lists and summaries, and returns 204 No Content.

Overview

PropertyValue
Bounded ContextReviews
Owner ServiceRating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs
Protocol / FormatHTTP DELETE, path parameter only, empty response (204 No Content)
Gateway EndpointDELETE /rating/api/v1/feedbacks/{id} (service path /api/v1/feedbacks/{id})
Authentication & AuthorizationMicrosoft Entra ID JWT — admin policy (role admin and scopes rating_read, rating_write)
Idempotency / ConcurrencyNot idempotent across retries; repeat calls return 404 Not Found; Cosmos DB ETag optimistic concurrency
Rate Limit / CachingGlobal concurrency (100), per-IP fixed-window (30 req/min), and per-user token bucket (30 tokens, +20 per 10s, queue 5); invalidates feedback list and AI summary caches
Contract Version1.0.0 (ApiVersions.V1)

Request & Response Contract

Path Parameters

Accepts no request body.

NameTypeRequiredConstraintsDescription
idstring (uuid)YesValid UUIDUnique identifier of the feedback record to delete

Success Response (204 No Content)

Empty response body confirms the feedback record was deleted.

Behavior & Side Effects

Note

OpenAPI metadata declares 404 Not Found as application/problem+json, whereas runtime responses return application/json with { "detail": "The requested resource was not found." }.

Error Responses

Status / CodeConditionClient Recovery Action
400 Bad Requestid path segment is not a valid UUIDProvide a valid feedback UUID in the path and retry
401 UnauthorizedMissing, expired, or invalid Entra ID bearer tokenAcquire a valid Entra ID access token and retry
403 ForbiddenValid token missing the admin role or rating_read/rating_write scopesAuthenticate as a store administrator with the required scopes
404 Not FoundNo feedback record exists with the specified idRefresh the moderation list; do not retry unchanged
409 ConflictCosmos DB ETag concurrency conflictRe-fetch the feedback state and retry if still present
429 Too Many RequestsRate limit quota exceeded (Retry-After header included)Wait for the Retry-After interval before retrying
500 Internal Server ErrorUnexpected Cosmos DB, Kafka, or server failure (traceId included)Retry with exponential backoff; inspect service logs using traceId

Delete feedback schema

0 properties

The feedback UUID is supplied as the id path parameter; the operation has no request body.

Additional properties: not allowed

Schema does not contain any properties.