Skip to main content
GET
/
cloud
/
v1
/
bmcapacity
/
{project_id}
/
{region_id}
Get bare metal capacity
curl --request GET \
  --url https://api.gcore.com/cloud/v1/bmcapacity/{project_id}/{region_id} \
  --header 'Authorization: <api-key>'
{
  "capacity": {
    "bm1-basic-small": 3,
    "bm1-infrastructure-small": 2,
    "bm1-infrastructure-medium": 1
  }
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

Response

200 - application/json

Available bare metal nodes count per flavor

Available bare metal nodes count per flavor

capacity
object

Bare metal capacity dict. Bare metal flavors are the keys of this dictionary, available nodes count are corresponding values