Docs

Bulk delete videos

Deletes up to 200 videos in a single request. IDs that do not exist or belong to a different organization are silently ignored.

POST
/v1/videos/bulk-delete

Authorization

BearerAuth
AuthorizationBearer <token>

Pass the raw API key as a Bearer token (Authorization: Bearer <key>). Publishable keys start with mvi_pub_ (playback-scoped). Other prefixes denote private/admin keys for general REST routes. GET /v1/embeds/{embedId}/playback accepts publishable keys only.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.moviie.ai/v1/videos/bulk-delete" \  -H "Content-Type: application/json" \  -d '{    "videoIds": [      "01170a22-f5b0-4090-a78c-cd6880c32ddd"    ]  }'
{
  "deletedCount": 0
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}