Cancel a bulk reprocess

Cancels the videos of a batch that have not started yet and refunds their credits.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

POST /videos/reencode_bulk_cancel

Cancels the videos of a batch that have not started yet and refunds their credits.

📘

Authorization

Requires a valid API token in the Authorization header (without Bearer prefix).

HTTP Method & Path

POST /videos/reencode_bulk_cancel

Base URL: https://api-v2.pandavideo.com.br

Authentication Requirements

HeaderValue
AuthorizationYour Panda API token (no Bearer prefix)

Request Body

Content-Type: application/json

Body Parameters

NameTypeRequiredDescription
idempotency_keystring (uuid v4)yesThe batch to cancel
{ "idempotency_key": "3f1c9a52-6d84-4a1e-9b77-2c5f0a8e4d31" }

Response

Success Response (200)

{
  "idempotency_key": "3f1c9a52-6d84-4a1e-9b77-2c5f0a8e4d31",
  "cancelled": 1,
  "refunded": 1,
  "not_cancellable": ["11111111-2222-3333-4444-555555555555"]
}

Response Schema

FieldTypeDescription
idempotency_keystring (uuid)The batch identifier you sent
cancelledintegerVideos cancelled before starting
refundedintegerVideos whose credits were returned
not_cancellablestring[] (uuid)Videos already being processed — they run to completion
⚠️

Cancelling is partial by nature

Videos already in processing cannot be stopped: they appear in not_cancellable, finish normally, and their credits are not refunded. Cancel early if you need to stop a large batch.

Error Responses

StatusWhen
400idempotency_key missing or invalid
500Internal error

Example Usage

cURL

curl -X POST \
  "https://api-v2.pandavideo.com.br/videos/reencode_bulk_cancel" \
  -H "Authorization: $PANDA_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "idempotency_key": "{uuid_v4}" }'

Related

  • Track the batch first: GET /videos/reencode_bulk_status
  • Start a batch: POST /videos/reencode_bulk
Body Params
uuid
required
Responses

400

idempotency_key is required

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json