# Bulk cancel events API to bulk cancel events. Endpoint: POST /v2/events/bulk-cancel Version: v2 Security: Bearer ## Request fields (application/json): - `cancelAsync` (boolean) Flag to indicate if the cancellation should be processed asynchronously. - `cancelEventRequests` (array, required) List of events to be cancelled. - `cancelEventRequests.eventId` (string, required) Unique identifier for the event. Example: "56789012" - `cancelEventRequests.type` (string, required) Type of an event Enum: "GENERIC", "PROGRAM", "PROGRAM_SESSION", "PROGRAM_TRIP" ## Response 200 fields (application/json): - `cancelEventResponses` (array, required) List of events cancellation response. - `cancelEventResponses.eventId` (string, required) Unique identifier for the event. Example: "56789012" - `cancelEventResponses.status` (string, required) Generic operation/execution status. Enum: "SUCCESS", "FAILED", "PARTIAL_SUCCESS" - `cancelEventResponses.message` (string) Details about success or failure reason. Example: "Cancelled successfully" ## Response 400 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 401 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 403 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error.