Update a collection
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
id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://api.moviie.ai/v1/collections/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Product demos",
"color": "sky",
"description": "Demo videos for all products.",
"is_default": true,
"created_at": "2024-01-15T12:00:00.000Z",
"updated_at": "2024-01-15T12:00:00.000Z",
"_count": {
"videos": 12
}
}{
"error": "Resource not found",
"code": "NOT_FOUND"
}