Rename Var Env
Renames one or more environment variables, contained within the environment identified with the ID {envId}.
POST /resource/rename/varenv/{envId}
Parameters
Parameters in bold are mandatory.
Location | Name | Description | Type |
---|---|---|---|
path | envId | The ID of the environment variable to be renamed. See Get Resource ID for further details on how to retrieve IDs. | str |
body | vartype | The variable type. It can be:
| str, or list for multiple variables. |
body | oldname | The old name of the variable. | str, or list for multiple variables. |
body | newname | The new name of the variable. | str, or list for multiple variables. |
To see details on possible response codes, go to API Responses.