Delete Asset
Delete an image asset from the current workspace.
Delete an asset record and its stored object.
Endpoint
DELETE https://api.pixmato.com/v1/assets/{id}
Request
curl -X DELETE "https://api.pixmato.com/v1/assets/asset_01JY7R8Q7S2K3B4A5C6D7E8F9G" \
-H "Authorization: Bearer YOUR_API_KEY"
Response
{
"asset": {
"id": "asset_01JY7R8Q7S2K3B4A5C6D7E8F9G",
"name": "hero-product.png",
"kind": "IMAGE",
"contentType": "image/png",
"size": 148203,
"url": "https://api.pixmato.com/workspaces/ws_01/assets/asset_01JY7R8Q7S2K3B4A5C6D7E8F9G/hero-product.png",
"storageKey": "workspaces/ws_01/assets/asset_01JY7R8Q7S2K3B4A5C6D7E8F9G/hero-product.png",
"tags": [],
"createdAt": "2026-11-06T12:00:00.000Z"
}
}
Notes
- Deleting an asset does not rewrite existing templates that already reference the asset URL.