post
https://api-v2.pandavideo.com.br/videos/reencode_bulk_cancel
Cancels the videos of a batch that have not started yet and refunds their credits.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
POST /videos/reencode_bulk_cancel
Cancels the videos of a batch that have not started yet and refunds their credits.
AuthorizationRequires a valid API token in the
Authorizationheader (withoutBearerprefix).
HTTP Method & Path
POST /videos/reencode_bulk_cancel
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
| Header | Value |
|---|---|
Authorization | Your Panda API token (no Bearer prefix) |
Request Body
Content-Type: application/json
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
idempotency_key | string (uuid v4) | yes | The 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
| Field | Type | Description |
|---|---|---|
idempotency_key | string (uuid) | The batch identifier you sent |
cancelled | integer | Videos cancelled before starting |
refunded | integer | Videos whose credits were returned |
not_cancellable | string[] (uuid) | Videos already being processed — they run to completion |
Cancelling is partial by natureVideos 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
| Status | When |
|---|---|
400 | idempotency_key missing or invalid |
500 | Internal 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
400idempotency_key is required
