Delete a saved view by id. This playground calls the live API and will remove data.
Delete a saved view by id.
DELETE https://api.commerceclarity.com/api/2026-05/entities/views/{id}Same permissions as Update view: a private view can be deleted only by its owner; a shared view by its owner or a brand manager. The delete is soft: the view disappears from every response but is kept in the database. A user whose last-active view was the deleted one simply lands on the default grid next time.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Required | The view's _id. |
curl -X DELETE "https://api.commerceclarity.com/api/2026-05/entities/views/664f1a2b3c4d5e6f7a8b9c0d" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
{
"status": "success",
"message": "View deleted."
}| Trigger | Status | Message |
|---|---|---|
| The id doesn't exist, belongs to another brand, or is another user's private view | 404 | View not found. |
| Deleting another user's shared view without being a brand manager | 403 | You are not allowed to edit this view. |