Attach block storage
Attach a block storage volume to a specific instance.
Authorization
ApiKeyAuth x-apikey<token>
In: header
Path Parameters
block_storage_id*string
ID of the block storage
Request Body
application/x-www-form-urlencoded
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://api.dewavps.com/v1/storage/blocks/string/attach" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'instance_id=06587974-2dbe-4e10-8bf9-38cce0f5a366'{
"message": "Block storage successfully attached",
"data": {
"storage_id": "b393bdc8-beeb-473d-b930-952d1433f9f9"
}
}