delete https://api.zenoti.com/v1/Appointments/Sessions/
This API helps you to cancel the registration of a class session booking.
You must provide a unique identifier of the registration as session_id
in the API request. The API then cancels the booking of the specified class session registration and returns the appropriate cancellation status.
Response Details
Name | Type | Description |
---|---|---|
IsRegnCancelled | boolean | Indicates whether the registration of the class session booking was successfully canceled. |
Error | object | Object that contains error message and error code details. For more information, refer to the Error Object table. |
Error Object
code | message |
---|---|
502 - InvalidInput | The RegistrationId passed is not of the logged-in guest. |