Create Var Env
Creates one or more environment variables within the environment identified with the ID {envId}.
URI: POST /resource/create/varenv/{envId}
Parameters
Parameters in bold are mandatory
Location | Name | Description | Type |
---|---|---|---|
path | envId | The ID of the parent environment where the new environment variable will be created. See Get Resource ID for further details on how to retrieve IDs. | str |
body | varname | The name of the new variable. | str, or list for multiple variables |
body | vartype | The type of the new environment variable. It can be:
| str, or list for multiple variables |
body | value | The value of the environment variable. | str, or list for multiple variables |
body | issensitive | A flag indicating whether or not the environment variable contains sensitive information (“1”), or not (“0”). | int or list for multiple variables |
To see details on possible response codes, go to API Responses.