Skip to main content
DELETE
/
api
/
reviews
/
:id
Delete Review
curl --request DELETE \
  --url https://api.example.com/api/reviews/:id
{
  "success": true,
  "message": "<string>"
}

Authentication

This endpoint requires authentication. Include a valid Bearer token in the Authorization header.

Path Parameters

id
string
required
The UUID of the review to deleteMust be a valid UUID format.

Response

success
boolean
Indicates if the request was successful
message
string
Confirmation message

Request Example

curl -X DELETE https://api.losinmaduros.com/api/reviews/123e4567-e89b-12d3-a456-426614174000 \
  -H "Authorization: Bearer YOUR_TOKEN"

Response Example

{
  "success": true,
  "message": "Review deleted successfully"
}

Notes

  • Only the review owner can delete their review. Attempting to delete another user’s review will return a 403 Forbidden error.
  • Once deleted, the review cannot be recovered. The user can create a new review for the same route afterward.
  • Deleting a review is permanent and will affect the route’s average rating calculation.

Build docs developers (and LLMs) love