Skip to content
Start here

Environment Variables

List build variables
GET/accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables
Set build variables
PATCH/accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables
Delete a build variable
DELETE/accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables/{environment_variable_key}
ModelsExpand Collapse
EnvironmentVariableListResponse = map[object { created_on, is_secret, value } ]
created_on: string
formatdate-time
is_secret: boolean

Whether to hide the value after it is saved. Secret values remain available to builds but appear as null when you list variables; non-secret values remain visible.

value: optional string

Value is null for secret environment variables

EnvironmentVariableUpsertResponse = map[object { created_on, is_secret, value } ]
created_on: string
formatdate-time
is_secret: boolean

Whether to hide the value after it is saved. Secret values remain available to builds but appear as null when you list variables; non-secret values remain visible.

value: optional string

Value is null for secret environment variables

EnvironmentVariableDeleteResponse = unknown