Skip to content

Delete a folder

DELETE
/api/content/management/folders/{configId}/{folderId}
curl --request DELETE \
--url https://example.com/api/content/management/folders/example/example \
--header 'Authorization: Bearer <token>'

Deletes a folder. Use removeAssets query param to also delete contained items.

configId
required

Repository configuration ID

string
folderId
required

Folder ID

string
removeAssets

If ‘true’, also delete items in the folder

string

Folder deleted successfully

Invalid request