Suggest an edit

Detaching a Block Storage volume via the Instance API

Reviewed on 18 December 2023Published on 10 January 2020
Security & Identity (IAM)

To perform certain actions described below, you must either be the Owner of the Organization in which the actions will be performed or an IAM user with the necessary permissions.

To detach a block volume from a running Instance, relaunch the API call and omit the volume you want to hot unplug. Like so:

curl -q \
-H "X-Auth-Token: $SECRET_KEY" \
-H 'Content-Type: application/json' \
-d '{
"volumes": {
"0": "7fe25caf-0a68-46a7-aeb9-63a278d33e2b",
}' \
See also
Increasing a Block Storage volume via the Instance APICreating backups
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
  • Blog
  • Careers
  • Scaleway Learning
Follow us
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS