Skip to content

servers.create

POST
/servers
curl --request POST \
--url https://example.com/api/servers \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "host": "example", "providerKey": "example", "port": 1, "proxyKind": "none" }'
Media type application/json
object
name
required
string
>= 1 characters
host
required
string
>= 1 characters
providerKey
required
string
>= 1 characters
port
integer
> 0 <= 9007199254740991
proxyKind
string
default: traefik
Allowed values: none traefik caddy

OK

Media type application/json
object
id
required
string
Example generated
{
"id": "example"
}