Bookings

Cancel a booking

Cancels a booking. Supports two authentication methods: a cancel token via ?token= query param (for invitee self-service), or an API key via Authorization: Bearer header (for developers). Idempotent — cancelling an already-cancelled booking returns success.

post/v1/bookings/{id}/cancel

Request

  • Base URL: https://api.astrocal.dev
  • URL: https://api.astrocal.dev/v1/bookings/{id}/cancel
  • Auth: none required

Path parameters

idstring uuid required

Query parameters

tokenstring

Request body

reasonstring

Response

Booking cancelled

idstring uuid required
status'cancelled' required
cancelled_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.