Skip to main content
POST
/
api
/
workspaces
/
{id}
/
tasks
/
{task_id}
/
stop
Stop Task
curl --request POST \
  --url http://localhost:8080/api/workspaces/{id}/tasks/{task_id}/stop \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required
task_id
string
required

Response

Successful Response