MailMasker API
Claude Code
Drive

Delete a folder in Trash forever

POST/api/v1/drive/folders/:id/purge

Who can use this: Any signed-in accountAs Markdown

Only for a folder already in Trash. All its files and subfolders go with it, and it can't be undone.

Parameters

NameWhereWhat it is
id required path The folder's id.e.g. 7

Good to know

  • A folder that isn't in your Trash answers 404.