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

KeyDatatypeRequiredDescription
configuration_idstringThe 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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;request_id&quot;:&quot;\u003cstring\u003e&quot;}