Delete folder
folder_deleteMove a folder, and the files in it, to the trash for 30 days: folder is its id (any kind: personal, team or workspace), or its slug: in workspaceId when given, else in team, else one of your personal folders. They leave listings, and reads of the files answer DELETED through the folder. The files keep their filing and come back with the folder; the slug stays held. Personal: the owner; team: any member; workspace: who may delete its content, with why (expectedWorkspaceRevision optional). Repeating it returns the same dates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| team | No | With a folder slug: the team (slug or id) it belongs to. | |
| folder | Yes | The folder: its id (any kind), or its slug: in workspaceId when given, else in team, else one of your personal folders. | |
| workspaceId | No | With a folder slug: the workspace it is in. | |
| expectedWorkspaceRevision | No | Optional, a workspace folder's: refuse (CONFLICT) if the folder changed since this workspace_revision. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| purgeAt | Yes | ||
| deletedAt | Yes |