latestOpenAPI 3.1.02026-08-20118232229.3 KB

0e42b0fb26d9

Update environment

Rename your environment

put/environments/{name}

Path parameters

namestring required

The current name of the environment to update.

The current name of the environment to update.

Request body

$schemastring uri

A URL to the JSON Schema for this object.

new_namestring required

The desired new name of the environment

Example request

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

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

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