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

key
string
required

The key of the app variable

Maximum length: 128
secret
boolean

Indicates if the variable is a secret

value
string

The value of the app variable

Maximum length: 2048

Response

200 - application/json
key
string
required

The key of the app variable

Maximum length: 128
secret
boolean

Indicates if the variable is a secret

value
string

The value of the app variable

Maximum length: 2048