Skip to content

Deactivate an active connection

Request

Deactivate an active connection with a property. On successful deactivation, the endpoint returns a 200 OK response without a data field.

You can only deactivate an active connection. If the property has a pending connection request instead, the endpoint returns an error. To decline a pending request, use the reject endpoint.

Security
BearerAuth
Path
propertyIdinteger, (int64)required

The Booking.com property ID.

curl -i -X DELETE \
  'https://developers.booking.com/_mock/connectivity/docs/openapispecs/connections-api/connections-api-specification/properties/{propertyId}/connection' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Successful operation

Headers
X-RUIDstring, (uuid)

Unique request ID. Include this value when contacting support.

Bodyapplication/json
metaobject(ResponseMeta)
warningsArray of objects(ApiError)
errorsArray of objects(ApiError)
Response
{ "meta": { "ruid": "fee464e7-1b41-4834-b665-b2aeba62ba7d" }, "warnings": [], "errors": [] }