DetachVolume

Description

Detaches a volume from an instance.

Request Parameters

  • VolumeId - The ID of the volume
    • Type: String
    • Required: Yes
  • InstanceId - The ID of the instance
    • Type: String
    • Required: Yes

Response Elements

  • status - The attachment state of the volume
  • attachTime - The time stamp when the attachment initiated
  • instanceId - The ID of the instance
  • volumeId - The ID of the volume
  • requestId - The ID of the request
  • device - The device name

Examples

c2-ec2 DetachVolume VolumeId <volume_id> InstanceId <instance_id>