---
title: "Create baremetal servers"
method: POST
path: "/v1/baremetals"
tags: ["baremetals"]
---

# Create baremetal servers

`POST /v1/baremetals`

## Request body

- BaremetalReq
  - `count` integer, required
  - `enableZabbixAgent` boolean — Whether to enable Zabbix agent on the baremetal node
  - `idc` string, required
  - `imageId` string, uuid, required — The ID of the image to use for creating the baremetal instance
  - `internalIp` string — Manually allocate internal IP address(IPv4 only). If not provided, internal IP will be allocated automatically. It only supports single baremetal creation.
  - `name` string, required
  - `product` string, required
  - `sshKey` string
  - `sshKeyIdList` string[]

## Response `200`

successful

- UuidObject[]
  - `id` string, uuid, required

## Other responses

- `400` — bad request
- `401` — Authentication information is missing or invalid
- `500` — Internal Server Error
- `503` — a dependent service is unavailable

---

[API](https://skmtc.net/gmicloud/apis/cluster-engine-api.md) · [All operations](https://skmtc.net/gmicloud/apis/cluster-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gmicloud/cluster-engine-api/versions/bcbab016469f/schema)
