cURL
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 } '
Updates an existing environment variable. Changes take effect after the next deployment.
Bearer token for authentication. Format: 'Bearer {token}'
Workspace ID (uses default workspace if not provided)
Application UUID
Update an environment variable
Variable name to update
New variable value
Enable inheritance of project-level environment variables