Delete a category by ID
curl -X DELETE https://api.example.com/categories/1 \
-H "Authorization: Bearer YOUR_TOKEN"
No Content
This endpoint deletes an existing category by ID. Requires authentication and admin role.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GioTaipe/E-commerce/llms.txt
Use this file to discover all available pages before exploring further.
curl -X DELETE https://api.example.com/categories/1 \
-H "Authorization: Bearer YOUR_TOKEN"
No Content
{
"message": "Unauthorized"
}
curl -X DELETE https://api.example.com/categories/1 \
-H "Authorization: Bearer YOUR_TOKEN"
No Content