File Version Delete
file_version_deleteDelete a single version of a shared file (destructive, irreversible).
Refuses to delete the only remaining version. If the deleted version was
the current (latest) one, current_version is bumped back to the new
max and -- when the file is published -- the bucket mirror is re-published
to that new current version so the public /s/{slug} route stays
consistent. Returns deleted, current_version_changed, and the
updated file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File UUID the version belongs to | |
| version | Yes | Version number to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||