Number of APIs: 5
GET {{baseUrl}}/environments/{{environmentId}}
Gets information about an environment.
DELETE {{baseUrl}}/environments/{{environmentId}}
Deletes an environment.
POST {{baseUrl}}/environments
Creates an environment. Include the following properties in the request body: You can also include the following properties:
name
— A string value that contains the environment's name.
values
— An array of objects that contains the following:
key
— A string value that contains the variable's name.value
— A string value that contains the variable's value.enabled
— A boolean value that, if true, enable the variable.type
— A string value that contains the variable's type. One of: secret
, default
, or any
.
PUT {{baseUrl}}/environments/{{environmentId}}
Updates an environment. Include the following properties in the request body:
name
— A string value that contains the environment's name.values
— An array of objects that contains the following:
key
— A string value that contains the variable's name.value
— A string value that contains the variable's value.enabled
— A boolean value that, if true, enable the variable.type
— A string value that contains the variable's type. One of: secret
, default
, or any
.
GET {{baseUrl}}/environments
Gets information about all of your [environments]
ENDPOINTS