API Reference
- Introduction
- Authorization
- GETVersion
- GETHealthcheck
- GETEnable API
- GETDisable API
- Servers
- Teams
- Projects
- Private Keys
- Deployments
- Resources
- Applications
- Databases
- Services
Servers
Update
Update Server.
PATCH
/
servers
/
{uuid}
Copy
curl --request PATCH \
--url https://app.coolify.io/api/v1/servers/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"ip": "<string>",
"port": 123,
"user": "<string>",
"private_key_uuid": "<string>",
"is_build_server": true,
"instant_validate": true
}'
Copy
[
{
"id": 123,
"uuid": "<string>",
"name": "<string>",
"description": "<string>",
"ip": "<string>",
"user": "<string>",
"port": 123,
"proxy": {},
"high_disk_usage_notification_sent": true,
"unreachable_notification_sent": true,
"unreachable_count": 123,
"validation_logs": "<string>",
"log_drain_notification_sent": true,
"swarm_cluster": "<string>"
}
]
Authorizations
Go to Keys & Tokens
/ API tokens
and create a new token. Use the token as the bearer token.
Body
application/json
Server updated.
The body is of type object
.
Response
201
application/json
Server updated.
The response is of type object[]
.
Copy
curl --request PATCH \
--url https://app.coolify.io/api/v1/servers/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"ip": "<string>",
"port": 123,
"user": "<string>",
"private_key_uuid": "<string>",
"is_build_server": true,
"instant_validate": true
}'
Copy
[
{
"id": 123,
"uuid": "<string>",
"name": "<string>",
"description": "<string>",
"ip": "<string>",
"user": "<string>",
"port": 123,
"proxy": {},
"high_disk_usage_notification_sent": true,
"unreachable_notification_sent": true,
"unreachable_count": 123,
"validation_logs": "<string>",
"log_drain_notification_sent": true,
"swarm_cluster": "<string>"
}
]
Assistant
Responses are generated using AI and may contain mistakes.