API Playground

Delete a saved view by id. This playground calls the live API and will remove data.

Authentication Required

You need to Login to test the API playground

Delete view

Delete a saved view by id.

Endpoint URL
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.

Path Parameters

ParameterTypeRequiredDescription
idstringRequiredThe view's _id.

Request Examples

curl -X DELETE "https://api.commerceclarity.com/api/2026-05/entities/views/664f1a2b3c4d5e6f7a8b9c0d" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"

Response Example

Success Response
{
  "status": "success",
  "message": "View deleted."
}

Errors

TriggerStatusMessage
The id doesn't exist, belongs to another brand, or is another user's private view404View not found.
Deleting another user's shared view without being a brand manager403You are not allowed to edit this view.