API ReferenceWorkspace Management

Delete Workspace Folder

DELETE/api/v1/workspaces/{workspaceId}/folders/{folderId}

Delete a folder from a workspace. By default, folders are moved to trash (soft delete). Use the permanent query parameter to permanently delete a folder and all its contents.

Headers

AuthorizationstringRequired

Bearer token for authentication

Path Parameters

workspaceIdstringRequired

The unique identifier of the workspace

folderIdstringRequired

The unique identifier of the folder to delete

Query Parameters

permanentbooleanOptional

If true, permanently deletes the folder and all contents instead of moving to trash. This action cannot be undone.

DELETE/api/v1/workspaces/{workspaceId}/folders/{folderId}
Response