Skip to main content
POST
Send {}. Cancellation is available only before the worker claims a pending task. For a running task, use close.

Authorizations

Authorization
string
header
required

API key created in this environment: mobius_.. Keep it in a local environment variable; never commit it.

Headers

Idempotency-Key
string
required

Persist one ID per intended mutation before sending. Reuse it with the same request for retries; different content returns 409.

Required string length: 1 - 128
Pattern: ^[!-~]+$

Path Parameters

taskId
string<uuid>
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Body

application/json

The body is of type object.

Response

Command accepted. Inspect task status for execution.

taskId
string<uuid>
required
status
string
required
Allowed value: "cancelled"