PUT
/
api
/
v1
/
apps
/
{uuid}
/
vars
Update an environment variable
curl --request PUT \
  --url https://app.miget.com/api/v1/apps/{uuid}/vars \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "key": "<string>",
  "value": "<string>",
  "project_variables_enabled": true
}
'

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

Application UUID

Body

application/json

Update an environment variable

key
string
required

Variable name to update

value
string
required

New variable value

project_variables_enabled
boolean

Enable inheritance of project-level environment variables

Response

Update an environment variable