Create Hetzner Server​
POST
/servers/hetzner
Create a new server on Hetzner and register it in Coolify.
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
JSON
{
"cloud_provider_token_uuid": "abc123",
"cloud_provider_token_id": "abc123",
"location": "nbg1",
"server_type": "cx11",
"image": 15512617,
"name": "my-server",
"private_key_uuid": "xyz789",
"enable_ipv4": true,
"enable_ipv6": true,
"hetzner_ssh_key_ids": [
0
],
"cloud_init_script": "string",
"instant_validate": false
}
Responses​
Hetzner server created.
application/json
JSON
{
"uuid": "og888os",
"hetzner_server_id": 0,
"ip": "string"
}
