Deactivate Connection
This endpoint allows you to deactivate the connection for a specific property on a connected channel by providing the property’s hotel ID and channel-specific hotel ID.
Endpoint
POST
Header
app-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key required for authorization.
Content-Type
string
Yes
Must be set to application/json.
Attributes
hotel_id string (Required)
Specifies the hotel ID for the property.
channel_hotel_id string (Required)
Specifies the channel-specific hotel ID for the property.
Sample Request
Response
Attributes
Status string
Indicates the result of the API call.
Data object
Contains the main response data, such as property connection details.
Message string
Descriptive message summarizing the API operation's outcome.
Ruid string
Unique request identifier for tracking, debugging, and logging.
Sample Success Response
Error
Sample Error Response 1
Sample Error Response 2
Sample Error Response 3
When error was thrown from booking.com
Error Response Body Elements
Status string
Indicates the result of the API call, which will be always "Fail" in case of an error response.
Error array
Array that contains details about any errors that occurred during the API call. Each object in the Errors array contains the following properties:
Code string
Specific error code that helps identify the type of error.
ShortText string
A short description of the error.
Message string
A message providing more information about the error.
Ruid string
A unique identifier for tracking the request.
Last updated
Was this helpful?