Delete a Block Storage volume. Some conditions apply when deleting a volume:
-
Deleting a volume can't be undone.
-
Deleting stops billing for the volume. You'll be billed for the time the volume was active during the current billing period.
-
You can't delete a volume that's attached to a Linode currently being migrated. You need to wait for the migration to complete.
-
You can't delete a volume that has a
cannot_deleteorcannot_delete_with_subresourcesresource lock set for it.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
Identity and access permissions. Your user needs a role with these permissions. Learn more.
- Permissions:
delete_volume
- Permissions:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
volumes:read_write
- Scopes:
CLI
linode-cli volumes delete 12345