Skip to main content
PATCH
/
orgs
/
{org_id}
/
variables
/
{key}
Rename Org Variable
curl --request PATCH \
  --url https://api.example.com/orgs/{org_id}/variables/{key} \
  --header 'Content-Type: application/json' \
  --data '
{
  "key": "<string>",
  "value": "<string>",
  "secret": true
}
'
{
  "key": "<string>",
  "value": "<string>",
  "secret": true
}

Path Parameters

org_id
string
required

The ID of the org

key
string
required

The key of the variable to rename.

Body

The new variable information.

Detailed information about a variable in your org

key
string

The key of the org variable

Maximum string length: 128
value
string

The value of the org variable

Maximum string length: 2048
secret
boolean

Indicates if the variable is a secret

Example:

true

Response

200 - application/json

The updated org variables.

Detailed information about a variable in your org

key
string
required

The key of the org variable

Maximum string length: 128
value
string

The value of the org variable

Maximum string length: 2048
secret
boolean

Indicates if the variable is a secret

Example:

true