Skip to Content

Update a video

Updating a video requires the videos.update permission. visibility is written only when the key has videos.publish. Otherwise the field stays unchanged and the response stays 200. See Authentication.

Update video

Updating a single video is done by sending a PATCH request to the /videos/:id endpoint.

If you are looking for a way to replace a video file, please refer to the replace video section.

Writable fields

FieldNotes
titleRequired when sent. Trimmed. 1 to 150 characters.
descriptionMaximum 2000 characters.
languageSpoken-language locale, for example en-US. Other strings are stored as well.
aiContentnone, generated, or modified.
visibilityWritten only with videos.publish. Otherwise the field stays unchanged.
categoriesReplaces the list. Unknown ids are dropped. If none remain, the field is null.
tagsReplaces the list. Unknown ids are dropped. If none remain, the field is null.
customMetadataMerges onto the stored object. See the video object.
chapterstitle (max 100) and timestamp as HH:MM:SS.
autoTranscription.autoStartStart transcription after the next encode when true.
player.useCustomDesignUse player.playerDesign instead of the preset.
player.selectedPresetPlayer preset id, or null.
player.playerDesignPlayer design properties. See the video object.
passwordProtection{ enabled, password }. password is at least 8 characters. Written only when the workspace has password protection.

status, texttracks, audiotracks, and file fields are ignored. Send text track changes to the text track endpoints.

curl -X PATCH https://app.ignitevideo.cloud/api/videos/[VIDEO_ID] \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"title": "New video title"}'

Response

The response is an object containing the Video object and an update message. If the id does not exist, the response is 403 with the Payload error. A missing id and a forbidden id return the same body. See Authentication.

{ doc: { "id": "[VIDEO_ID]", "title": "New video title", ... }, message: "Updated successfully." }