POST
/
v1
/
baremetals
create baremetal servers
curl --request POST \
  --url https://console.gmicloud.com/api/v1/baremetals \
  --header 'Content-Type: application/json' \
  --data '{
  "count": 2,
  "enableZabbixAgent": true,
  "idc": "<string>",
  "name": "<string>",
  "product": "<string>",
  "sshKey": "<string>"
}'
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]

Body

application/json
count
integer
required
Required range: x >= 1
idc
string
required
Minimum length: 1
name
string
required
Maximum length: 255
product
string
required
Minimum length: 1
sshKey
string
required
Minimum length: 1
enableZabbixAgent
boolean
default:true

Whether to enable Zabbix agent on the baremetal node

Response

successful

id
string<uuid>
required