Api referenceClasses
Cancel a contact's spot
Releases the contact's spot. Inside the location's cancellation window it is a late cancel (`late: true`) that still consumes the covering credit unless `excuse` is true. A freed spot is offered to the waitlist automatically.
Authorization
ApiKeyAuth AuthorizationBearer <token>
Send your API key as a bearer token: Authorization: Bearer bp_sk_live_.... Mint and revoke keys in your dashboard under Settings -> Developers.
In: header
Path Parameters
id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/classes/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel" \ -H "Content-Type: application/json" \ -d '{ "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598" }'{ "attendee_id": "83226cf6-9cc1-4adb-b536-110595637d19", "class_id": "54be4e86-fa06-45fc-86e5-29ea93b4a062", "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598", "status": "cancelled", "late": true}