Application Environment

Rename application environment

Renames an environment and recalculates its remote_host and remote_entry_url

patch/v2/application/{organization}/{project}/{application}/environment/{environment}/rename

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v2/application/{organization}/{project}/{application}/environment/{environment}/rename
  • Auth: HTTP bearer

Path parameters

organizationstring required

Organization name (slug)

Example:zephyr-cloud
projectstring required

Project name (slug)

Example:main-app
applicationstring required

Application name (slug)

Example:web-dashboard
environmentstring required

Environment name

Example:production

Request body

namestring required

New environment name

Example request

{
  "name": "staging"
}

Response

Environment renamed successfully

valueboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.