Skip to main content
POST
CancelPendingAutomationExecutions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Path Parameters

id
string
required

The unique identifier of the automation whose queued runs should be cancelled.

Body

application/json

The automation whose queued runs to cancel.

reason
string

Optional human-readable reason for the cancellation, recorded in the system log. Up to 1024 bytes.

Response

200 - application/json

The bulk action started to cancel the automation's queued runs.

The bulk action started to cancel the automation's queued runs.

bulkActionId
string

The bulk action ID created to cancel the queued runs. Track progress via the BulkAction API.