---
title: "Deletes a file from an Album."
method: DELETE
path: "/dam/albums/{album_id}/files/{file_id}"
tags: ["DAM: Albums: Files"]
---

# Deletes a file from an Album.

`DELETE /dam/albums/{album_id}/files/{file_id}`

## Request

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

<h3>Delete DAM Album File</h3>
        <p>Endpoint for deleting a file from an album. The folder may not be trashed or locked, and the token user must have delete access to the album.<p>

## Path parameters

- `album_id` string, required
- `file_id` string, required

## Response `204`

no content

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `423`: Locked

---

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