v1

latestOpenAPI 3.0.32026-07-128910.2 KB
environments

createEnvironmentVariable

Create a new environment variable or secret for the organization. If group is provided and the group does not yet exist, it is created automatically.

post/v1/environments

Request body

keystring required
type'String' | 'SecretString' required
descriptionstring
groupstring
valuestring
protectedboolean

Whether the variable is protected from editing

Response

Created environment variable

keystring required
type'String' | 'SecretString' required
descriptionstring
groupstring

Optional group name for organising variables in the UI

valuestring

Value is returned for String type, omitted for SecretString

protectedboolean

Whether the variable is protected from editing

created_atstring date-time required
updated_atstring date-time required