Bucket Folders
Folder create/rename/trash lifecycle within a bucket
Create a folder
Requires contributor role or above on this bucket.
Rename a folder
Requires contributor role or above on this bucket.
Trash or restore a folder
Requires contributor role or above on this bucket. `status: 'deleted'` moves the folder to trash; `status: 'created'` restores it (restoring parent folders as needed).
Permanently delete a trashed folder
Requires contributor role or above on this bucket. The folder must already be in trash. Deletion is asynchronous: this triggers a purge event and returns immediately, it does not remove the folder from the database synchronously.