cURL
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" } '
Cancels a pending, scheduled, or queued task
Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"
Task UUID
"No longer needed"
Task cancelled successfully