delete https://api.zenoti.com/api/Appointments/Admin/Sessions/
This API helps you to cancel the registration of a class session booking.
You must provide a unique identifier of the registration as registration_id in the API request. The API then cancels the registration of the specified class session 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. |
