MailMasker API
Claude Code
Drive

Restore a folder from Trash

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

Who can use this: Any signed-in accountAs Markdown

The folder goes back where it was, with all its files and subfolders. Any folders above it that are in Trash come back too.

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.