Skip to main content
PUT
/
v1
/
tasks
/
{task_id}
/
abort
Abort Background Task
curl --request PUT \
  --url https://{api_endpoint}/api/v1/tasks/{task_id}/abort \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

task_id
string
required

Response

Successful Response