Deletes a folder from any storage. Use this API when you need to remove folders programmatically as part of cleanup, restructuring, or content lifecycle workflows.
Path parameters
Parameter
Description
id
any
required
Folder Id
Query parameters
Parameter
Description
library
string
optional
One of sharepoint, msteams, google, onedrive, box, dropbox, cloudfiles, s3, azure, hubspot, azurefiles, sftp
driveId
string
optional
Drive Id. Required when library is sharepoint or msteams.
Header parameters
Parameter
Description
Authorization
string
optional
Replace the API_Key placeholder with your actual API key.