Skip to main content
DELETE
/
v2
/
hc-folders
/
{id}
/
public
Delete knowledge folder
curl --request DELETE \
  --url https://api-prod.usefini.com/v2/hc-folders/{id}/public \
  --header 'Authorization: <authorization>'
Use this route to remove a folder from the tree.

Headers

Authorization
string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.

Path parameters

id
string
required
Folder ID to delete.

Response

Returns the deleted knowledge folder object. See Organize knowledge for the shared folder fields.

Errors

The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope.
The folder does not exist in the workspace.