latestOpenAPI 3.0.12026-08-10234260964.0 KB

6cc88fde6435

Project Variables

Update a project variable

Update a single user-defined project variable. 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.

patch/projects/{projectId}/variables/{projectVariableId}

Path parameters

projectIdstring required
projectVariableIdstring required

Request body

namestring

Name of the variable

attributesobject

Arbitrary attributes attached to this resource

valuestring

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