Description
Pass only the fields to change. Renaming an environment does not affect releases that already targeted it.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
environmentId |
body | string | yes | ID of the environment. |
name |
body | string | no | New name. |
sortOrder |
body | number | no | New display order. |
color |
body | string | no | New hex color. |
Errors
| Status | Meaning |
|---|---|
400 |
Invalid environmentId or validation failure. |
401 |
Missing or invalid Basic auth credentials, or the service account lacks the required role. |