Skip to main content
DELETE
JavaScript

Authorizations

X-API-Key
string
header
required

Path Parameters

knowledge_base_id
string<uuid>
required

Unique knowledge base ID.

Query Parameters

organization_id
string<uuid> | null

Organization scope for API keys that can access multiple organizations.

Body

application/json
path
string
required

Folder path to delete.

Minimum string length: 1
recursive
boolean
default:false

When false, only empty folders are deleted and non-empty folders return a conflict. When true, the folder and all contents are deleted.

Response

Successful Response

message
string
required

Operation result message.

path
string
required

Folder path.