Cancel a task
Cancel a task that has not yet reached a terminal state.
Tasks in pending, waiting, queued, or running status can be cancelled.
If the task is already completed, failed, or cancelled, this is a no-op (returns success).
If the task is currently running on an agent, the gateway will notify the agent to abort.
Accepts JWT Bearer, sk- integration credential, or dk- device credential.
Documentation Index
Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
User session JWT (Bearer ). Must be paired with the X-Team-ID
request header on team-scoped endpoints so the server knows which
team's resources to operate on.
Headers
UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):
- JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
- Credential callers (
sk-,dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
"019abc12-4567-7890-abcd-ef1234567891"
Path Parameters
UUID of the task.
"019abc12-9012-7890-abcd-ef1234567896"
Response
Task cancelled
Always true when the action completed successfully.
true
