Skip to content

Reject a pending connection request

Request

Reject a pending connection request from a property. On successful rejection, the endpoint returns a 200 OK response without a data field.

If no pending request is found, the endpoint returns an error. The error tells you whether you already have an active connection with the property:

  • 400 with error code 1900: You have an active connection with the property.
  • 403 with error code 635: You have neither a pending request nor an active connection with the property.
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}/request' \
  -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": [] }