Update a volume
Updates a volume’s settings, including its expiration time.
Authorizations
Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.
Body
Time at which the volume expires, in ISO 8601 format, with a UTC offset. It must be in the future and at most ten years ahead. Set it to null to clear the expiration time. A body that sets no field is rejected. When the volume expires, all live versions are deleted, all tags are removed, and the volume disappears from listings. Clearing the expiration time afterward does not restore deleted versions. Each deleted version can be restored until its delete_after time. Setting or clearing the expiration time requires the same permission as deleting the volume.
"2030-01-01T00:00:00Z"
Revision the volume is expected to be at. When set, the update fails with a conflict if the volume has changed since. Take the value from a volume's sequence, or from volume_sequence.
x >= 0Response
Namespace the volume belongs to, in lowercase.
Name of the volume, in lowercase.
Volume expiration time in ISO 8601 format. Null when no expiration time is set.
Revision of the volume after the update.