Skip to main content

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 creating state returns 400.

Request

Responses

Volume successfully updated.