---
title: "Deactivates DAM CDN File Resource"
method: DELETE
path: "/dam/files/{file_id}/cdn"
tags: ["DAM: Files: CDN"]
---

# Deactivates DAM CDN File Resource

`DELETE /dam/files/{file_id}/cdn`

## Request

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

## Deactivates DAM CDN file resource
Endpoint for deactivating the CDN resource associated with a given file. Note: only one CDN resource can exist per file.

## Path parameters

- `file_id` string, required

## Response `204`

No content

## 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)
