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

---

[API](https://skmtc.net/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.net/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/versions/9fb6092a836d/schema)
