Skip to main content
DELETE
/
folders
/
{id}
Delete a folder
curl --request DELETE \
  --url https://app.generalcounsel.ai/api/external/v1/folders/{id} \
  --header 'Authorization: <api-key>'
{
  "error": "Cannot delete system folders"
}

Documentation Index

Fetch the complete documentation index at: https://docs.gc.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key for authentication. Format: gcai_xxxxxxxxx

Create API keys in the GC AI app under Settings → API.

Path Parameters

id
string<uuid>
required

The folder ID

Query Parameters

recursive
enum<string>

When true, recursively delete subfolders and files. Defaults to false.

Available options:
true,
false
Example:

"true"

Response

Folder deleted successfully