POST
/
streaming
/
ai
/
tasks
/
{task_id}
/
cancel
curl --request POST \
  --url https://api.gcore.com/streaming/ai/tasks/{task_id}/cancel \
  --header 'Authorization: <api-key>'
{
  "result": "Task has been cancelled successfully."
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

task_id
string
required

ID of the task to be cancelled

Response

202
application/json

Accepted. AI-task has been cancelled successfully

The response is of type object.