DeleteVolume
Description
Deletes an Amazon EBS volume that you own. For more information about Amazon EBS, go to the
Note | |
---|---|
The volume remains in the deleting state for several minutes after you enter this command. |
Request Parameters
Name | Description | Required |
---|---|---|
|
Type: DeleteVolumeType Ancestor: None Children: |
|
|
The ID of the volume to delete. The volume remains in the deleting state for several minutes after entering this command. Type: xsd:string Default: None Ancestor: Children: None |
Yes |
Response Elements
Name | Description |
---|---|
|
Type: DeleteVolumeResponseType Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
Returns true if deletion succeeded. Otherwise, returns an error. Type: xsd:boolean Ancestor: Children: None |
Examples
Example Request
This example deletes volume vol-4282672b
.
<DeleteVolume xmlns="http://ec2.amazonaws.com/doc/2009-10-31/"> <volumeId>vol-4282672b</volumeId> </DeleteVolume>
Example Response
<DeleteVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-10-31/"> <return>true</return> </DeleteVolumeResponse>