v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159650798.5 KB

Deletes the specified block storage disk. The disk must be in the available state (not attached to a Lightsail instance).

The disk may remain in the deleting state for several minutes.

The delete disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.

post/#X-Amz-Target=Lightsail_20161128.DeleteDisk

Headers

X-Amz-Target'Lightsail_20161128.DeleteDisk' required

Request body

diskNamestring required

The unique name of the disk you want to delete (e.g., <code>my-disk</code>).

forceDeleteAddOnsboolean

A Boolean value to indicate whether to delete all add-ons for the disk.

Response

Success