Project Variables

Add a project variable

Add a variable to a project. The value can be either a string or a JSON object (default: string), as specified by the is_json boolean flag. See the Variables section in our documentation for more information.

post/projects/{projectId}/variables

Request

Path parameters

projectIdstring required

Request body

namestring required

Name of the variable

attributesobject

Arbitrary attributes attached to this resource

valuestring required

Value of the variable

is_jsonboolean

The variable is a JSON string

is_sensitiveboolean

The variable is sensitive

visible_buildboolean

The variable is visible during build

visible_runtimeboolean

The variable is visible at runtime

application_scopestring[]

Applications that have access to this variable

Response

statusstring required

The status text of the response

codeinteger required

The status code of the response

Changes

No recorded changes to this operation across all 1 revision of this API.