Skip to main content
POST
/
v1
/
queue
/
clear
Clear a specific queue item
curl --request POST \
  --url https://api.example.com/v1/queue/clear \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "queueId": "<string>"
}
'
{
  "status": "<string>",
  "message": "<string>",
  "queueId": "<string>"
}
Note: Clearing a queue item is irreversible.

Clear Queue Item

This endpoint clears a specific video generation request from the queue for the authenticated user.

Request

  • Endpoint: POST /v1/queue/clear
  • Authorization: Bearer token required

Request Body

ParameterTypeRequiredDescription
queueIdstringYesThe ID of the queue item to clear.

Example Request

curl -X POST https://api.videnly.com/v1/queue/clear \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "queueId": "xxxxxxxxxxxxxxxxxxxxxxxx"
}'

Authorizations

Authorization
string
header
required

Use format Bearer YOUR_API_KEY.

Body

application/json
queueId
string
required

Response

Queue item cleared successfully

status
string
message
string
queueId
string