Skip to main content

Create bare metal servers

POST 

/backend/api/servers/

Host: https://core.ocplanet.cloud

Create bare metal servers.

Request

Body

    disk_layout_id integer
    name stringrequired
    os integerrequired
    password stringrequired
    ssh_keys string[]
    tags string[]required

Responses

Schema
    server object
    id integerrequired
    image stringrequired
    create_at stringrequired
    name stringrequired
    primary_ip stringrequired
    type stringrequired
    cpu objectrequired
    model stringrequired
    value integerrequired
    count integerrequired
    value_type stringrequired
    cores integerrequired
    threads integerrequired
    mhzTurbo integerrequired
    floating_ips object[]required
  • Array [
  • ip stringrequired
    ip_attributes objectrequired
    is_IP_v4 required
    is_IP_v6 required
    is_subnet required
    primary_ip required
    subnet_information objectrequired
    gw required
    netmask required
    subnet required
    type required
    updated_at stringrequired
  • ]
  • memory RAMrequired
    model stringrequired
    value integerrequired
    count integerrequired
    value_type stringrequired
    details object[]required
  • Array [
  • model stringrequired
    size integerrequired
  • ]
  • state objectrequired
    power_status stringrequired
    reinstall_run booleanrequired
    tags string[]required
Loading...