---
title: "Remove an asset from the media library"
canonical: "https://bird.com/docs/api/reference/delete-asset"
---

# Remove an asset from the media library

`DELETE /v1/assets/{asset_id}`

Removes an asset from the library. The asset stops appearing in the library and cannot be added to new content, but its URL keeps serving so messages that already reference it continue to render. Deleting is idempotent.

## Code samples

**TypeScript**

```ts
await bird.assets.delete("ast_01krdgeqcxet5s7t44vh8rt9mg");
```

Examples: [TypeScript](/docs/api/reference/delete-asset.ts.md) · [Python](/docs/api/reference/delete-asset.py.md) · [Go](/docs/api/reference/delete-asset.go.md) · [PHP](/docs/api/reference/delete-asset.php.md) · [CLI](/docs/api/reference/delete-asset.cli.md) · [MCP](/docs/api/reference/delete-asset.mcp.md) · [cURL](/docs/api/reference/delete-asset.curl.md)

## Path parameters

- `asset_id` (string): ID of the asset.

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
