Skip to main content
GET
/
cloud
/
v2
/
bmcapacity
/
{region_id}
Get bare metal capacity from default project
curl --request GET \
  --url https://api.gcore.com/cloud/v2/bmcapacity/{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

region_id
integer
required

Region ID

Query Parameters

client_id
integer

Available for roots

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