DELETE: Brand Asset Image
Learn how to delete brand assets from your workspace
Overview
This endpoint allows you to delete a specific brand asset (image) from your workspace using its unique ID.
https://api.orshot.com/v1/brand-assets/images/delete/:idRequest
await fetch("https://api.orshot.com/v1/brand-assets/images/delete/01234567-89ab-cdef-0123-456789abcdef", {
method: "DELETE",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer <ORSHOT_API_KEY>",
},
});{
"message": "Asset successfully deleted",
"id": "01234567-89ab-cdef-0123-456789abcdef"
}Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | String | Yes | The unique identifier of the brand asset to delete |
Error Responses
Asset Not Found (404)
{
"error": "Asset not found"
}Missing Asset ID (400)
{
"error": "Asset ID is required"
}Unauthorized (403)
{
"error": "Access Forbidden"
}Notes
- The asset must belong to your workspace
- Once deleted, assets cannot be recovered
- The API key must have the appropriate permissions to delete assets
Rate Limits
- 30 requests per minute per endpoint