Skip to navigation

Cancel a delegate task

Stop the task after its current tool round. API keys need DELEGATE_TASKS:WRITE.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

The task id (dlg_…).

Response

Cancellation requested
acceptedboolean
taskobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
503
Service Unavailable Error