cURL
curl --request GET \ --url https://rest.compute.cudo.org/v1/projects/{projectId}/disks \ --header 'Authorization: <api-key>'
{ "disks": [ { "createTime": "2023-11-07T05:31:56Z", "dataCenterId": "<string>", "diskState": "UNKNOWN", "diskType": "DISK_TYPE_UNKNOWN", "id": "<string>", "privateImageId": "<string>", "projectId": "<string>", "publicImageId": "<string>", "sizeGib": 123, "vmId": "<string>" } ], "pageNumber": 123, "pageSize": 123, "totalCount": 123 }
Lists virtual machine disks in a project.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
A successful response.
Show child attributes
Was this page helpful?