---
title: "Delete asset"
method: DELETE
path: "/api/assets/{id}"
tags: ["file"]
---

# Delete asset

`DELETE /api/assets/{id}`

Deletes the asset record.

## Path parameters

- `id` string, uuid, required

## Response `204`

Asset record deleted successfully

## Other responses

- `401` — Unauthorized
- `404` — Asset not found
- `409` — Asset cannot be deleted because it is referenced by another resource, e.g. a workflow version (error code: ASSET_IN_USE)
- `500` — Internal server error

## Changes

- **2026-06-03** `8560879e6188` — 1 warning, 6 info
  - deleted the `query` request parameter `delete_content`
  - api tag `file` added
  - api tag `assets` removed
  - added the optional property `details` to the response with the `401` status
  - …3 more
- **2026-05-22** `09a5075587c8` — 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`
  - added the non-success response with the status `500`
- **2026-04-24** `a66055fa384e` — 7 info
  - api tag `assets` added
  - api tag `file` removed
  - added the new optional `query` request parameter `delete_content`
  - removed the non-success response with the status `401`
  - …3 more

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/assets/:id/delete.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/da017caf56f1/schema)
