Updates configurable properties of an application identified by its UUID. Supply the fields you want to change, such as build_pack, docker_compose_domains, or docker_images_to_keep; the build pack and redirect values are limited to the listed options. A 409 response indicates that domain conflicts were detected.
IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.
1 parameter · 102 body fields
uuidstringrequired
The UUID of the application to update.
Application properties to update. Supply the fields you want to change.
The flag to connect the service to the predefined Docker network.
custom_container_name_prefixstringoptional
Prefix for generated container names (prefix-20260908T141530). Slugified and unique across the instance.
custom_docker_run_optionsstringoptional
Custom docker run options.
custom_internal_namestringoptional
Custom internal container name. Turns is_consistent_container_name_enabled on when that field is not sent; sending it as false together with a name returns 422.
custom_labelsstringoptional
Custom labels.
descriptionstringoptional
The application description.
disable_build_cachebooleanoptional
Disable the build cache.
docker_compose_custom_build_commandstringoptional
The Docker Compose custom build command.
docker_compose_custom_start_commandstringoptional
The Docker Compose custom start command.
docker_compose_domainsarray<object>optional
Array of URLs to be applied to containers of a dockercompose application.
docker_compose_locationstringoptional
The Docker Compose location.
docker_images_to_keepintegeroptional
Number of Docker images to retain.
docker_registry_image_namestringoptional
The docker registry image name.
docker_registry_image_tagstringoptional
The docker registry image tag.
dockerfilestringoptional
The Dockerfile content.
dockerfile_locationstringoptional
The Dockerfile location in the repository.
dockerfile_target_buildstringoptional
The Docker build target (stage) in the Dockerfile.
domainsstringoptional
The application URLs in a comma-separated list.
force_domain_overridebooleanoptional
Force domain usage even if conflicts are detected. Default is false.
Use a consistent container name across deployments.
is_container_label_escape_enabledbooleanoptional
Escape special characters in labels. By default, $ (and other chars) is escaped. So if you write $ in the labels, it will be saved as $$. If you want to use env variables inside the labels, turn this off.
Let Coolify manage the container labels. True regenerates custom_labels from domains, redirect, and proxy settings. False keeps custom_labels as you set them: domains, redirect, and basic auth changes then do not change the labels.
Default:true
is_env_sorting_enabledbooleanoptional
Sort environment variables.
is_force_https_enabledbooleanoptional
The flag to indicate if HTTPS is forced. Defaults to true.
is_git_lfs_enabledbooleanoptional
Enable Git LFS.
is_git_shallow_clone_enabledbooleanoptional
Use a shallow Git clone.
is_git_submodules_enabledbooleanoptional
Clone Git submodules.
is_gpu_enabledbooleanoptional
Enable GPU support.
is_gzip_enabledbooleanoptional
Enable gzip compression.
is_log_drain_enabledbooleanoptional
Enable log drain for the application.
is_permanent_redirect_enabledbooleanoptional
Use permanent redirects (301/308) instead of temporary (302/307) for the HTTP to HTTPS and www redirects. Defaults to false.
is_pr_deployments_public_enabledbooleanoptional
Make pull request deployments public.
is_preserve_repository_enabledbooleanoptional
Preserve git repository during application update. If false, the existing repository will be removed and replaced with the new one. If true, the existing repository will be kept and the new one will be ignored. Default is false.
is_preview_deployments_enabledbooleanoptional
Enable preview deployments for pull requests.
is_raw_compose_deployment_enabledbooleanoptional
Deploy the raw Docker Compose definition.
is_spabooleanoptional
The flag to indicate if the application is a single-page application (SPA). Only relevant when is_static is true.
is_staticbooleanoptional
The flag to indicate if the application is static.
is_stripprefix_enabledbooleanoptional
Enable path prefix stripping.
limits_cpu_sharesintegeroptional
CPU shares.
limits_cpusstringoptional
CPU limit.
limits_cpusetstringoptional
CPU set.
limits_memorystringoptional
Memory limit.
limits_memory_reservationstringoptional
Memory reservation.
limits_memory_swapstringoptional
Memory swap limit.
limits_memory_swappinessintegeroptional
Memory swappiness.
manual_webhook_secret_bitbucketstringoptional
Manual webhook secret for Bitbucket. Needs the deploy ability.
manual_webhook_secret_giteastringoptional
Manual webhook secret for Gitea. Needs the deploy ability.
manual_webhook_secret_githubstringoptional
Manual webhook secret for Github. Needs the deploy ability.
manual_webhook_secret_gitlabstringoptional
Manual webhook secret for Gitlab. Needs the deploy ability.
max_restart_countintegeroptional
Maximum container restart count before stopping.
namestringoptional
The application name.
noindex_domainsarray<string>optional
The subset of the application domains served with an X-Robots-Tag: noindex, nofollow response header, keeping them out of search engines. Entries that are not among the application domains are ignored.
ports_exposesstringoptional
The ports to expose.
ports_mappingsstringoptional
The ports mappings.
post_deployment_commandstringoptional
Post deployment command.
post_deployment_command_containerstringoptional
Post deployment command container.
pre_deployment_commandstringoptional
Pre deployment command.
pre_deployment_command_containerstringoptional
Pre deployment command container.
preview_url_templatestringoptional
Preview URL template.
publish_directorystringoptional
The publish directory.
redact_all_env_values_in_logsbooleanoptional
Redact all environment variable values in logs. When false, only locked (shown once) values are redacted. Requires team admin permissions.
redirectstringoptional
How to set redirect with Traefik / Caddy. www<->non-www.
Allowed:wwwnon-wwwboth
rolling_update_drain_secondsintegeroptional
Seconds to wait after the new container is healthy before old containers stop during a rolling update. 0 turns the wait off. Default: 5.
start_commandstringoptional
The start command.
stop_grace_periodintegeroptional
Container stop grace period in seconds.
traefik_certificate_resolverstringoptional
Traefik certificate resolver for this application. Null uses the server setting, "none" uses no resolver.
use_build_secretsbooleanoptional
Use Docker Build Secrets for build-time environment variables.
use_build_serverbooleanoptional
Use build server.
watch_pathsstringoptional
Watch path patterns, one per line (newline-separated). Commas do not separate patterns.
6 status codes
200Returns an object containing the UUID of the updated application.
uuidstringoptional
400Returned when the token is invalid.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
403Returned when the token does not have the deploy ability required to set a manual webhook secret.
404Returned when the application resource is not found.
messagestringoptional
409Returned when domain conflicts are detected; the response includes conflict details.
conflictsarray<object>optional
messagestringoptional
warningstringoptional
Error handling
A 400 is returned for an invalid token, a 401 when the request is unauthenticated, a 403 when the token lacks the deploy ability to set a manual webhook secret, a 404 when the resource is not found, and a 409 when domain conflicts are detected. The uuid path parameter must identify an existing application. build_pack must be one of nixpacks, railpack, static, dockerfile, or dockercompose; docker_images_to_keep must be between 0 and 100, and each redirect value must be www, non-www, or both.