733d4133df
Allow PUT /servers/{server_id}/os-volume_attachments/{volume_id}`` to support specifying ``delete_on_termination`` field in the request body. This allows updating the attached volume's flag that controls whether or not it is automatically deleted when the instance is deleted. When we request 'volumeId' and 'delete_on_termination' in the requst body to swap volume, since the new microversion it will be support updating the swapping volume's delete flag. Co-Authored-By: Dan Smith <dansmith@redhat.com> Blueprint: destroy-instance-with-datavolume Change-Id: I6ccac4e17f56b40e67c79d40f32558ef414685ea
5 lines
94 B
JSON
5 lines
94 B
JSON
{
|
|
"volumeAttachment": {
|
|
"volumeId": "227cc671-f30b-4488-96fd-7d0bf13648d8"
|
|
}
|
|
} |