Skip to content

Create

POST
/servers

Create Server.

Authorizations

Request Body required

Server created.

object
name

The name of the server.

string
My Server
description

The description of the server.

string
My Server Description
ip

The IP of the server.

string
127.0.0.1
port

The port of the server.

integer
22
user

The user of the server.

string
root
private_key_uuid

The UUID of the private key.

string
og888os
is_build_server

Is build server.

boolean
instant_validate

Instant validate.

boolean
proxy_type

The proxy type.

string
Allowed values: traefik caddy none
traefik

Responses

201

Server created.

object
uuid

The UUID of the server.

string
og888os

400

Invalid token.

object
message
string
Invalid token.

401

Unauthenticated.

object
message
string
Unauthenticated.

404

Resource not found.

object
message
string
Resource not found.