Delete a booking
DELETE {{baseUrl}}/v3/scheduling/bookings/:booking_id?configuration_id={{configuration_id}}
Deletes an specific booking. Nylas also cancels the event linked to the booking on the provider.
Nylas validates the provided session ID and uses it to retrieve the related Configuration object. If you created a public configuration, you don't need to include the Authorization
request header with a session ID, but you must pass the Configuration object ID as a query parameter.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
configuration_id | string | The ID of the Configuration object whose settings are used for the booking. Required only if you're not using session authentication (requires_session_auth is set to false ). |
Request Body
{"cancellation_reason"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"request_id":"\u003cstring\u003e"}