Skip to content

Delete a specific category

DELETE
/categories/{id}
curl --request DELETE \
--url http://localhost:8000/api/v1/categories/1 \
--header 'Authorization: Bearer <token>'
id
required
integer

ID of the category

Category deleted successfully

Invalid category type

Category not found

Internal server error