Skip to main content
POST
/
api
/
v2
/
tasks
/
{taskId}
/
cancel
Cancel task
curl --request POST \
  --url https://api.example.com/api/v2/tasks/{taskId}/cancel
{
  "message": "<string>"
}

Path Parameters

taskId
string
required

The unique identifier of the task to cancel.

Response

Task cancelled successfully.

Task cancelled successfully.

message
string
required

Confirmation message that the task has been cancelled.