Skip to main content
DELETE
/
snippets
/
categories
/
{id}
Delete a snippet category
curl --request DELETE \
  --url https://api.getfernand.com/snippets/categories/{id} \
  --header 'X-API-Key: <api-key>'
{}
Permanently deletes the specified snippet category and all its child categories recursively. This operation also removes all snippet assignments to the deleted categories. This operation cannot be undone.

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Path Parameters

id
integer
required

ID of the category to delete.

Response

Category deleted successfully.

The response is of type object.