Skip to content

volume_attached

Volume is attached. HTTP status 400.

The volume is still attached to a VPS. An attached volume cannot be deleted.

What to do

Detach it with POST /api/v2/volumes/{id}/actions/detach. When GET /api/v2/volumes/{id} shows status as available, send the DELETE again.

What the message says

  • Volume is currently attached to a VPS. Detach it before deleting.

Example

Response 400
{
"type": "https://developer.hostup.se/errors/volume_attached",
"title": "Volume is attached",
"status": 400,
"detail": "Volume is currently attached to a VPS. Detach it before deleting.",
"code": "volume_attached",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.

Endpoints that return it