Skip to content

Delete unit

Request

Delete existing unit for a property

Path
property-idinteger, (int32)required
unit-idinteger, (int64)required
curl -i -X DELETE \
  'https://developers.booking.com/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/properties/{property-id}/units/{unit-id}'

Responses

OK

Bodyapplication/json
dataobject
warningsArray of objects(ApiError)
errorsArray of objects(ApiError)
metaobject(ResponseMeta)
Response
{ "data": {}, "warnings": [ { … } ], "errors": [ { … } ], "meta": { "ruid": "string" } }