Files
Proxmox-Coolify-Manager/coolify_skill/references/ops/create-server.md
T

102 lines
1.9 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Skip to content](https://coolify.io/docs/api-reference/api/operations/create-server#VPContent)
Return to top
Create[](https://coolify.io/docs/api-reference/api/operations/create-server#create)
=====================================================================================
POST
/servers
Create Server.
Authorizations[](https://coolify.io/docs/api-reference/api/operations/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[](https://coolify.io/docs/api-reference/api/operations/create-server#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[](https://coolify.io/docs/api-reference/api/operations/create-server#responses)
-------------------------------------------------------------------------------------------
201400401404422
Server created.
Content-Type
application/json
SchemaJSON
JSON
{
"uuid": "og888os"
}
POST
/servers
Playground[](https://coolify.io/docs/api-reference/api/operations/create-server#playground)
---------------------------------------------------------------------------------------------
Authorization
bearerAuth
Body
Try it out
Samples[](https://coolify.io/docs/api-reference/api/operations/create-server#samples)
---------------------------------------------------------------------------------------
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)