Get Block Devices

Get Block Devices

Get all BlockDevices

Request
URI
GET
https://{api_host}/iaas/api/block-devices
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Responses
200

successful operation

Returns BlockDeviceResult of type(s) application/json
{
    "content": [
        {
            "id": "9e49",
            "createdAt": "2012-09-27",
            "updatedAt": "2012-09-27",
            "owner": "[email protected]",
            "organizationId": "deprecated",
            "orgId": "9e49",
            "name": "my-name",
            "description": "my-description",
            "externalId": "i-cfe4-e241-e53b-756a9a2e25d2",
            "projectId": "9e49",
            "externalZoneId": "us-east-1a",
            "externalRegionId": "us-east-1",
            "cloudAccountIds": [
                "string"
            ],
            "capacityInGB": 10,
            "status": "ATTACHED",
            "tags": [
                {
                    "key": "string",
                    "value": "string"
                }
            ]
        }
    ],
    "totalElements": 1
}
content
Optional

List of content items

integer As int64 As int64
totalElements
Optional

Total number of elements


403

Forbidden

Operation doesn't return any data structure