Skip to main content
DELETE
/
knowledge
/
collections
/
{id}
Delete a collection
curl --request DELETE \
  --url https://api.getfernand.com/knowledge/collections/{id} \
  --header 'X-API-Key: <api-key>'
{}
Permanently deletes a collection from the knowledge base. The collection must be empty - it cannot contain any articles or sub-collections. This prevents accidental deletion of content. If the collection has articles or nested collections, you must first move or delete them before deleting the parent collection. After deletion, the sort order of remaining sibling collections is automatically adjusted.

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 collection to delete.

Response

Collection deleted successfully.

The response is of type object.