Skip to main content
Version: latest

Remove volume from the virtual machine instance

PUT 

/v1/spectroclusters/:uid/vms/:vmName/removeVolume

Remove volume from the virtual machine instance

Request

Path Parameters

    uid stringrequired

    Cluster uid

    vmName stringrequired

    Virtual Machine name

Query Parameters

    namespace stringrequired

    Namespace name

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

    persistboolean

    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

    dryRunstring[]

    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

    namestringrequired

    Name represents the name that maps to both the disk and volume that should be removed

Responses

Ok response without content

Response Headers

  • AuditUid

    string

    Audit uid for the request

Loading...