Empty an entire recycle bin
zspace_recycle_emptyPermanently purge an entire recycle bin. Irreversible, and this is the only way deleted files actually stop occupying pool space.
Instructions
Permanently purge an entire recycle bin. Irreversible, and this is the only way deleted files actually stop occupying pool space.
Two things make this easy to get wrong. First, the personal and public bins are separate stores: emptying the public bin after deleting from a personal space succeeds with total_num=0 and frees nothing. Second, it purges EVERYTHING in that bin, not just what the current task deleted.
Always call zspace_recycle_list first, show the user the contents, and get their agreement. Requires confirm=true. Returns the server task summary {total_num, succeed_num, fail_num, total_size} -- verify total_num is non-zero before claiming space was freed. Use zspace_recycle_purge to remove specific items instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | True empties the shared/family bin, False the personal one | |
| confirm | No | Must be explicitly true; the call is refused otherwise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||