Skip to content
Developer docs

Cancels a booked schedule run that has not been dispatched yet

This page describes Revolution release 4.1.0-rev-1988-one-assertion-verifier-one-sign.37+62c97c6.

On this page
  1. Authorizations
  2. Parameters
  3. Path Parameters
  4. Responses
  5. 200
  6. 400
  7. 404
  8. 409
  9. 429
  10. 503
  11. 504
Revo Ready

Hi, I'm Revo

Ask me anything about Revolution. My answers link the pages they come from.

POST
/api/v1/{tenantId}/schedule-bookings/{bookingId}/cancel

Revolution Core keeps the bookings and cancels only a Queued one. Cancelling is idempotent: a booking that is already cancelled also answers 200, and nothing changes. 404 when the tenant has no booking with this id; 409 when it is being dispatched, has started or has failed. A cancelled booking is kept, with status Cancelled and who cancelled it.

Plugin API access: this operation accepts a plugin JWT (PluginBearer) for its own tenant.

tenantId
required
string
bookingId
required
string

OK

object

Bad Request

object
message
string
nullable
code
string
nullable
retryable
boolean
nullable
field
string
nullable
data
nullable

Not Found

object
message
string
nullable
code
string
nullable
retryable
boolean
nullable
field
string
nullable
data
nullable

Conflict

object
message
string
nullable
code
string
nullable
retryable
boolean
nullable
field
string
nullable
data
nullable

Too Many Requests

object
message
string
nullable
code
string
nullable
retryable
boolean
nullable
field
string
nullable
data
nullable

Service Unavailable

object
message
string
nullable
code
string
nullable
retryable
boolean
nullable
field
string
nullable
data
nullable

Gateway Timeout

object
message
string
nullable
code
string
nullable
retryable
boolean
nullable
field
string
nullable
data
nullable