---
title: "Delete Asset"
method: DELETE
path: "/v1/assets/{asset_id}"
tags: ["assets"]
---

# Delete Asset

`DELETE /v1/assets/{asset_id}`

## Request

- Base URL: `https://api.octoai.cloud`
- URL: `https://api.octoai.cloud/v1/assets/{asset_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/octoml/apis/asset-library-api/docs/v1/assets/:asset_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete an asset from the asset library.

## Path parameters

- `asset_id` string, required: The asset unique ID.

## Response `200`

Successful Response

- DeleteAssetResponse: Delete asset response.
  - `deleted_at` string, required: Asset deletion time.
  - `id` string, required: Unique ID for this asset.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/octoml/apis/asset-library-api.md) - [All operations](https://skmtc.dev/octoml/apis/asset-library-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octoml/apis/asset-library-api/revisions/b157279528e4?raw)
