Skip to main content
DELETE
/
v1
/
deployments
/
{deploymentId}
/
folders
/
{folderId}
Delete a folder
curl --request DELETE \
  --url https://{tenant}.cubecloud.dev/api/v1/deployments/{deploymentId}/folders/{folderId} \
  --header 'Authorization: Bearer <token>'
Delete a folder from a deployment’s workspace. Responds with 204 No Content on success. The folder must be empty of sub-folders: if it still has child folders, the request is rejected with 400 — delete or move the sub-folders first. Content directly inside the folder (workbooks, dashboards, reports) is not deleted. It is detached and returned to the workspace root. Requires manage access to the folder. Returns 404 if the folder does not exist or belongs to a different deployment.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

deploymentId
number
required
folderId
number
required

Response

200 - application/json

Successful response