DELETE /api/hotels/{hotelId}/reviews/{reviewId}

Path parameters

  • hotelId string(uuid) Required

    The id of the hotel having the review to delete

  • reviewId string(uuid) Required

    The id of the review to delete

Responses

  • 200

    Success

  • 204

    If the operation is successfully done

  • 401

    User is not authenticated.

  • 403

    User is not authorized (not a guest, or didn't visit the hotel).

DELETE /api/hotels/{hotelId}/reviews/{reviewId}
curl \
 -X DELETE http://api.example.com/api/hotels/{hotelId}/reviews/{reviewId} \
 -H "Authorization: Bearer $ACCESS_TOKEN"