Deletes an Amazon EBS volume. The volume must be in the available
state (not attached to an instance). For more information about Amazon EBS, go to
Using 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 are 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/2011-01-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </DeleteVolumeResponse>