Cancel Jobs

Cancel all pending jobs and remove them from queue.

Cancel all pending jobs and remove them from queue.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
task_uuidstringRequired
post
/api/task/reset_task

Call this API endpoint to cancel all pending jobs and remove them from queue.

Calling this API endpoint before the task is done will result Failed state in Check Status endpoint.

Pricing

We do not charge any addtional credits for calling this API to cancel your task.

Request

Authentication

This API uses bearer key for authentication. You need to include a valid token in the Authorization header for all requests.

Body

The API takes one parameter in the POST request body.

Use the uuid field instead of jobs.uuids for task_uuid in the response from the Generation API.

Parameter
Type
Description

task_uuid

string

Required. The UUID of the task you want to reset. Typically you will get it in the response from the Generation API.

Examples

Last updated