Delete an attribute by id. This playground calls the live API and will permanently remove data.
Permanently delete an attribute definition by id.
DELETE https://api.commerceclarity.com/api/2026-05/attributes/delete/{id}| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Required | The attribute's attribute_id or Mongo _id. |
curl -X DELETE "https://api.commerceclarity.com/api/2026-05/attributes/delete/color" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
{
"success": true,
"message": "Attribute deleted successfully"
}{
"success": false,
"message": "Attribute not found"
}