Delete Doc Folder

Delete a doc folder. As in the app, the folder, every folder inside it, and every doc inside any of them move to Recently Deleted together; non-empty folders are not rejected.

DELETE/api/v1/docs/folders/{folderId}

Authorization

ApiKeyAuth

Path Parameters

folderId*string

The folder ID.

Query Parameters

workspaceId*string

The unique identifier of the workspace.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/v1/docs/folders/string?workspaceId=string"
{  "success": true,  "data": {    "message": "Folder deleted successfully",    "descendantCount": 2  }}