Actions22
- Server Actions
- Volume Actions
- Image Actions
- Snapshot Actions
Snapshot → Update
AI-generatedSummary
Update a snapshot's name and description
Inputs
- snapshotId (required) — The ID of the snapshot
- updateFields — Fields to update on the snapshot, such as name and description
Output shape
a single updated snapshot object
Returns the updated snapshot resource; optional fields may be omitted; errors are propagated
Examples
Example 1: Rename snapshot and add a description
snapshotId: '15f67991-0f51-4efc-a8ad-ef1fb31a480c', updateFields: { name: 'Quarterly Backup', description: 'Backup taken on 2024-09-01' }
Example 2: Only update description
snapshotId: '15f67991-0f51-4efc-a8ad-ef1fb31a480c', updateFields: { description: 'Updated after review' }