Remove volume from the virtual machine instance
PUT/v1/spectroclusters/:uid/vms/:vmName/removeVolume
Remove volume from the virtual machine instance
Request
Path Parameters
Cluster uid
Virtual Machine name
Query Parameters
Namespace name
Header Parameters
Scope the request to the specified project uid
- application/json
Body
If 'true' remove the disk from the Virtual Machine & Virtual Machine Instance, else remove the disk from the Virtual Machine Instance only
removeVolumeOptions
object
required
RemoveVolumeOptions is provided when dynamically hot unplugging volume and disk
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
Name represents the name that maps to both the disk and volume that should be removed
Responses
- 204
Ok response without content
Response Headers
AuditUid
string
Audit uid for the request