Docs

Archive or reactivate an embed

Archives or reactivates an embed. Playback for existing installations remains compatible.

Archives or reactivates an embed. Playback for existing installations remains compatible.

POST
/v1/embeds/{embedId}/archive

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

Path Parameters

embedId*string

Embed UUID.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

archived*boolean

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.moviie.ai/v1/embeds/497f6eca-6276-4993-bfeb-53cbbbba6f08/archive" \  -H "Content-Type: application/json" \  -d '{    "archived": true  }'
{
  "embedId": "8971aebf-fca4-4062-b2a4-87771d70de31",
  "status": "active"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}