Update service application
API server
https://app.coolify.io/api/v1Update fields for a compose service application. Use url for comma-separated public URLs (same rules as urls[].url on PATCH /services/{uuid}).
Authorization
bearerAuth Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
In: header
Path Parameters
Service UUID.
Service application UUID.
Query Parameters
When true, allow duplicate URLs in the request and proceed despite domain conflicts (same as service PATCH).
falseRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Comma-separated list of URLs (e.g. "http://app.example.com:8080,https://app2.example.com"). Stored as fqdn.
The subset of the service application domains served with an X-Robots-Tag: noindex, nofollow response header, keeping them out of search engines. Entries that are not among the domains are ignored.
Traefik certificate resolver for this service application. Null uses the server setting, "none" uses no resolver.
Use permanent redirects (301/308) instead of temporary (302/307) for the HTTP to HTTPS and www redirects. Defaults to false.
How to handle www and non-www domains. "www" redirects non-www to www, "non-www" redirects www to non-www. Both need a www and a non-www domain in url.
"both" | "www" | "non-www"Maximum Docker restart count before Coolify stops the container. Set to 0 to disable the limit.
0 <= valueResponse Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://app.coolify.io/api/v1/services/string/applications/string" \ -H "Content-Type: application/json" \ -d '{}'{}{ "message": "Unauthenticated."}{ "message": "Resource not found."}{ "message": "Validation error.", "errors": { "name": [ "The name field is required." ], "api_url": [ "The api url field is required.", "The api url format is invalid." ] }}