Skip to navigation

Delete a review

View as Markdown

Hard-delete a review belonging to this directory. The row is removed from the database (audit history is still retained via django-simple-history). Deleting an approved review also recomputes the parent partner entry’s aggregate rating and review counts, so the review disappears from the public GET /reviews/{directory_id}/{slug}/ listing immediately. Requires the generic_directory:delete_reviews permission.

Authentication

AuthorizationToken

Your API key, sent as Authorization: Token <your API key>

Path parameters

directoryIdstringRequiredformat: "uuid"
UUID of the generic directory that owns the review.
reviewIdstringRequiredformat: "uuid"
UUID of the review to delete.

Response

Review deleted; empty response body.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error