Delete a disk

Delete a specific disk from a Linode.

🚧

Deleting a disk is a destructive action and can't be undone.

You can't delete a disk on a Linode that has a cannot_delete_with_subresources resource lock set for it.

Permissions and scopes

To call this operation, you need the following:

  • Identity and access permissions. Your user needs a role with these permissions assigned. Learn more.

    • Permissions: delete_linode_disk
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: linodes:read_write

CLI

linode-cli linodes disk-delete 123 24674

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

ID of the Linode to look up.

integer
required

ID of the Disk to look up.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json