Update application
Update one or more properties of an existing application. Only include the fields you want to change - omitted fields are left unchanged. Changes to build settings take effect on the next deployment. Changing the source switches how the application is built and deployed - for example, from a Git repository to a Docker image.
Authorizations
Path Parameters
Body
Enable or disable automatic deployments on every push to the default branch. Only works with privateGit applications - has no effect on publicGit or dockerImage applications. Ignored when the same request switches the source to dockerImage or app. Turning it on for a GitLab or Bitbucket repository adds a webhook to the repository: the request can fail when no connected account that shared the repository can manage its webhooks, and a source change sent in the same request stays applied.
true
Git branch used for automatic and manual deployments when no branch is explicitly specified. Ignored when the same request switches the source to dockerImage or app. When the request sends source and leaves this out, the current branch is kept if the repository stays the same. For a new repository, its default branch is looked up and used, and the request fails with a 400 error if that branch can't be found.
1"main"
Build strategy to use. ingot - build using a Dockerfile that Ingot generates from the source code on every build. Each generated version is kept and can be listed under the application's Dockerfiles. dockerfile - build using the Dockerfile from your repository. railpack - auto-detected build system, successor to Nixpacks. pack - build using Cloud Native Buildpacks. nixpacks - retired auto-detected build system. Only accepted for applications that already use it - switching to it from another build type returns a 400 error.
ingot, dockerfile, railpack, pack, nixpacks "ingot"
Identifier of a Docker registry credential. Used for pulling private base images when build type is dockerfile, or for pulling the container image when source is dockerImage.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Glob patterns for file paths to exclude from deployment triggers. Commits that only touch ignored paths will not trigger auto deploy. Mutually exclusive with allow_deploy_paths. At most 50 patterns of up to 200 characters, with at most 2 * in each folder or file name.
Response
Default Response
Identifier of the project this application is grouped under
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Where the application source code comes from. privateGit - private Git repository connected via OAuth. publicGit - public Git repository URL. dockerImage - Docker container image from a registry. app - pipeline promotion target with no Git repository or Docker image connected; deployments arrive by promoting from another pipeline stage.
privateGit, publicGit, dockerImage, app "privateGit"
Whether the application is suspended or is being suspended. It turns true as soon as a suspension is requested and back to false once an activation has started every process or has failed. While it is true, deployments are skipped instead of run and manual cron runs are refused. Use suspension_status to see whether every process has actually stopped.
false
Build strategy used to build the application. ingot - build using a Dockerfile that Ingot generates from the source code on every build. New Git applications use ingot by default. dockerfile - build using the Dockerfile from your repository. railpack - auto-detected build system, successor to Nixpacks. pack - build using Cloud Native Buildpacks. nixpacks - retired auto-detected build system. Applications that already use it keep it, but it can no longer be selected.
ingot, dockerfile, railpack, pack, nixpacks "ingot"
Timestamp when the application was created, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$"2025-01-30T00:00:00.000Z"
Timestamp when the application was last modified, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$"2025-01-30T00:00:00.000Z"