DELETE /api/rooms/{roomId}/discounts/{id}

Path parameters

  • roomId string(uuid) Required

    The id of the room

  • id string(uuid) Required

    The id of the discount

Responses

  • 200

    Success

  • 204

    If the operation is successfully done

  • 401

    User is not authenticated.

  • 403

    User is not authorized (not an admin).

DELETE /api/rooms/{roomId}/discounts/{id}
curl \
 -X DELETE http://api.example.com/api/rooms/{roomId}/discounts/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"