Delete a folder
Folders
Delete a Folder
Delete a folder. By default, only empty folders can be deleted; pass ?recursive=true to delete a folder along with all of its subfolders and files. System folders cannot be deleted.
Requires a user-scoped API key (u:gcai_...).
DELETE
Delete a folder
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
API key for authentication. Format: gcai_xxxxxxxxx
Create API keys in the GC AI app under Settings → API.
Path Parameters
The folder ID
Query Parameters
When true, recursively delete subfolders and files. Defaults to false.
Available options:
true, false Example:
"true"
Response
Folder deleted successfully