AlphaAlpha Docs
API ReferencePublic booking

Cancel a booking

Cancels a booking using the cancellation token

POST
/public/booking/{tenantCode}/{widgetSlug}/cancel
AuthorizationBearer <token>

In: header

Path Parameters

tenantCode*string
widgetSlug*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

cancellationToken*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/public/booking/string/string/cancel" \  -H "Content-Type: application/json" \  -d '{    "cancellationToken": "string"  }'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}