1.9 KiB
1.9 KiB
Return to top
Create
=====================================================================================
POST
/servers
Create Server.
Authorizations
bearerAuth
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Request Body
application/json
SchemaJSON
JSON
{
"name": "My Server",
"description": "My Server Description",
"ip": "127.0.0.1",
"port": 22,
"user": "root",
"private_key_uuid": "og888os",
"is_build_server": false,
"instant_validate": false,
"proxy_type": "traefik"
}
Responses
201400401404422
Server created.
Content-Type
application/json
SchemaJSON
JSON
{
"uuid": "og888os"
}
POST
/servers
Playground
Authorization
bearerAuth
Body
Try it out
Samples
Powered by VitePress OpenAPI