host.docs.purge
Drop stored versions of a document older than older_than_versions versions back from its current one -- get {version: } then reads not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Document id to purge old versions of; use name instead if you don't have it. | |
| name | No | Document name to purge old versions of; use id instead if you have it. | |
| tenant_key | No | The key `signup` returned. Required only when this connection carries no Authorization: Bearer header -- when both are present, the header wins. | |
| older_than_versions | Yes | How many versions back from the current one to keep. |