Delete Block Device
Delete a BlockDevice
A block device cannot be deleted when attached to a machine.
A block device with persistent property set to 'false' is deleted.
A block device with persistent property set to 'true' needs an additional parameter 'purge' to be set to true, for deletion.
The ID of the block device.
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
Controls whether this is a force delete operation. If true, best effort is made for deleting this block device. Use with caution as force deleting may cause inconsistencies between the cloud provider and VMware Aria Automation.
Controls whether this is a force delete operation. If true, best effort is made for deleting this block device. Use with caution as force deleting may cause inconsistencies between the cloud provider and VMware Aria Automation.
Accepted
{
"progress": 90,
"message": "In Progress",
"status": "FINISHED",
"resources": [
"/resources/i-0be3655a12fd28e8e",
"/resources/i-0be234a15ft8det3"
],
"name": "Power-off",
"id": "we655aew4e8e",
"selfLink": "/.../request-tracker/we655aew4e8e",
"deploymentId": "123e4567-e89b-12d3-a456-426614174000"
}
Progress of the request as percentage.
Status message of the request.
Status of the request.
Collection of resources.
Name of the operation.
ID of this request.
Self link of this request.
ID of the deployment, this request is connected to.
No Content
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/iaas/api/block-devices/{id}