Skip to main content
POST
/
api
/
v1
/
tasks
/
{uuid}
/
cancel
Cancel a task
curl --request POST \
  --url https://{subdomain}.mindhunters.ai/api/v1/tasks/{uuid}/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "No longer needed"
}
'

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

Task UUID

Body

application/json
reason
string
Example:

"No longer needed"

Response

Task cancelled successfully