Set or clear a snapshot's self-cleaning expiry
Set or clear a snapshot's self-cleaning expiry. expires_after is a duration from NOW ("24h", "7d"; minimum 1h) - at that instant the snapshot deletes itself exactly like delete_snapshot (key-deletion, irreversible, deferred while a restore is mid-flight) - or "never" to cancel a pending expiry. This is YOUR timer: snapshots never expire unless you schedule it. Typical use: expire a fork base image a day after the fan-out, so it stops counting against your storage bound and bill.
Request
- Base URL: https://autoresearch.sfcompute.com
- URL: https://autoresearch.sfcompute.com/preview/snapshots/{id}
- Auth: HTTP bearer
Path parameters
Snapshot id (snap-..., from list_snapshots).
Query parameters
Act in this workspace (its slug). Omitted: the token's bound workspace, then the organization's default. Never ambient - there is no switch-workspace mutation on this door.
Request body
Response
The capability's JSON result.
Changes
No recorded changes to this operation across all 1 revision of this API.