POST
/
tasks
/
cancel
curl --request POST \
  --url https://api.getflex.ai/v1/tasks/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>"
}'
"<string>"

Authorizations

Authorization
string
header
required

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

Body

application/json
id
string

Response

200
application/json
Successful response

The response is of type string.