Update volume fields
PATCH/core/volumes/:volume_id
Updates an existing volume by modifying its attributes such as the environment to which it belongs. The target environment must be in the same region as the current one. Retrieve the volume_id by calling the List volumes endpoint, and the environment_name by calling the List environments endpoint.
Detachment requirement
This operation is only permitted when the volume is not attached to a virtual machine.
State requirement: This operation requires the volume to have finished provisioning. PATCH against a volume in the
creatingstate returns400.
Request
Responses
- 200
- 400
- 401
- 404
- 409
- 500
Volume successfully updated.
Bad Request
Unauthorized
Not Found
Conflict
Internal Server Error
Was this page helpful?