Deletes an Amazon EBS volume that you own. The volume must be in the
available state (not attached to an instance). For more information
about Amazon EBS, go to Amazon Elastic
Block Store in the Amazon Elastic Compute Cloud User Guide.
![]() | Note |
|---|---|
The volume remains in the deleting state for several minutes after you call this action. |
| Name | Description | Required |
|---|---|---|
|
|
The ID of the volume to delete. Type: String Default: None |
Yes |
The elements in the following table come wrapped in a
DeleteVolumeResponse structure.
| Name | Description |
|---|---|
|
|
The ID of the request. Type: xsd:string |
|
|
Returns true if the request succeeds. Otherwise, returns an error. Type: xsd:boolean |
This example deletes volume vol-4282672b.
https://ec2.amazonaws.com/?Action=DeleteVolume &VolumeId=vol-4282672b &AuthParams
<DeleteVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </DeleteVolumeResponse>