latestOpenAPI 3.1.02026-08-20118232229.3 KB

0e42b0fb26d9

Update app environment

Update the configuration of an app in a specific environment, such as which version is deployed.

put/apps/{name}/environments/{environment}

Path parameters

namestring required

The name of the app.

The name of the app.

environmentstring required

The name of the environment.

The name of the environment.

Request body

$schemastring uri

A URL to the JSON Schema for this object.

versionstring required

The version to deploy to this environment, e.g. 'v1', 'v2'.

Example request

{
  "$schema": "https://api.tower.dev/v1/schemas/UpdateAppEnvironmentParams.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

environmentstring required
versionstring required

Example response

{
  "$schema": "https://api.tower.dev/v1/schemas/UpdateAppEnvironmentResponse.json"
}