Skip to content

Bulk cancel events

Request

API to bulk cancel events.

Security
Bearer
Bodyapplication/jsonrequired
cancelAsyncboolean

Flag to indicate if the cancellation should be processed asynchronously.

Default:false
Example:false
cancelEventRequestsArray of objects, [ 1 .. 100 ] items(CancelEventRequest)required

List of events to be cancelled.

curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/events/bulk-cancel \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "cancelAsync": false,
    "cancelEventRequests": [
      {
        "eventId": "56789012",
        "type": "GENERIC"
      }
    ]
  }'

Responses

Bulk cancel response with event statuses

Bodyapplication/json
cancelEventResponsesArray of objects(CancelEventResponse)required

List of events cancellation response.

Response
{ "cancelEventResponses": [ { … } ] }