Skip to main content
POST
Cancel a background run

Authorizations

X-API-Key
string
header
required

Organization API key. Format: "hp_live_{key}". Organization admins manage the key in the dashboard.

Path Parameters

batchId
string
required

Batch id returned by the revert call

Body

application/json
reason
string

Why the run was stopped (for your own records)

Maximum string length: 500

Response

Cancelled, or cancelling

success
boolean
Example:

true

message
string
Example:

"Cancelling — accounts in progress finish, the rest are left as they are"

data
object
Example: