Update application settings
update_applicationUpdate a safe subset of an application's settings (name, domains, commands, health check) while excluding secrets and limits. Preview changes with dry run before applying on next deploy.
Instructions
Change a safe subset of an application's settings: name, description, domains, git_branch, build_pack, ports_exposes, publish_directory, base_directory, install/build/start commands, health_check_path. Only fields that actually differ are sent; returns each change as from -> to. Nothing else (secrets, limits, compose files) can be touched. Use dry_run: true to preview. Changes apply on the next deploy (domains need a redeploy or restart for the proxy labels).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Application name. Coolify defaults to a name derived from the repo and branch. | |
| domains | No | Comma-separated full URLs, e.g. "https://app.example.com,https://www.example.com" (a :port suffix routes to that container port). Not allowed for dockercompose. | |
| dry_run | No | Report what would change without calling the mutating API. Allowed even in read-only mode. | |
| build_pack | No | nixpacks (auto-detect), static (nginx serving files), dockerfile, dockercompose, or railpack (Coolify >= 4.1.0). | |
| git_branch | No | Branch to deploy. | |
| application | Yes | Application uuid, exact name, or a unique part of its name or domain. | |
| description | No | Free-text description (null clears it on update). | |
| build_command | No | Override the build command (nixpacks/railpack). | |
| ports_exposes | No | Container port(s) the proxy routes to, comma-separated. | |
| start_command | No | Override the start command (nixpacks/railpack). | |
| base_directory | No | Sub-directory of the repo to build from (monorepos), e.g. "/apps/web". Default "/". | |
| install_command | No | Override the install command (nixpacks/railpack). | |
| health_check_path | No | HTTP health check path, e.g. "/health". | |
| publish_directory | No | Directory with the built static files (static sites, e.g. "/dist"). |