PATCH
/
apps
/
{app_id}
/
variables
curl --request PATCH \
  --url https://api.withcortex.ai/apps/{app_id}/variables \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "key": "<string>",
    "value": "<string>",
    "secret": true
  }
]'
[
  {
    "key": "<string>",
    "value": "<string>",
    "secret": true
  }
]

Path Parameters

app_id
string
required

The ID of the app

Query Parameters

page
number

Page number

take
number

Number of items to take

Body

An array of app variables to update.
key
string
required

The key of the app variable

Maximum length: 128
value
string

The value of the app variable

Maximum length: 2048
secret
boolean

Indicates if the variable is a secret

Response

200 - application/json
An array of updated app variables.
key
string
required

The key of the app variable

Maximum length: 128
value
string

The value of the app variable

Maximum length: 2048
secret
boolean

Indicates if the variable is a secret