---
title: "Update Video CDN resource for a given file"
method: PATCH
path: "/dam/video-cdns/{video_cdn_id}"
tags: ["DAM: Files: Video CDN"]
---

# Update Video CDN resource for a given file

`PATCH /dam/video-cdns/{video_cdn_id}`

## Request

- Base URL: `https://api.kontainer.com/jsonapi/v2`
- URL: `https://api.kontainer.com/jsonapi/v2/dam/video-cdns/{video_cdn_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kontainer/apis/kontainer-api-documentation/docs/dam/video-cdns/:video_cdn_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Update DAM Video CDN
Endpoint for updating a Video CDN resource.

## Path parameters

- `video_cdn_id` string, required

## Request body

- object
  - `data` object, required
    - `type` string: Resource Type
    - `id` string: Resource ID
    - `attributes` object
      - `allow_download` boolean: Allow embed settings to download the original file

## Response `200`

success

- CdnFileVideo
  - `data` object
    - `type` string: Resource Type
    - `id` string: ID of resource
    - `attributes` object
      - `allow_download` boolean: Allow embed settings to download the original file
      - `status` string: Status of video conversion
    - `meta` object: Additional metadata
      - `url` string: Master file URL
      - `player_url` string: Embed player URL
      - `thumbnail_url` string: Thumbnail URL

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/kontainer/apis/kontainer-api-documentation.md) - [All operations](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/revisions/b80a5167e09a?raw)
