cURL
curl --request PATCH \ --url https://api.alpic.ai/v1/environment-variables/{environmentVariableId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "value": "<string>", "isSecret": false } '
{ "success": "<unknown>" }
Update an environment variable by ID
Bearer token for authentication. Use an API key from the API Keys page in team settings, or an OAuth access token.
The ID of the environment variable
2
^[a-zA-Z]([a-zA-Z0-9_])+$
1
The environment variable has been updated successfully
Was this page helpful?
Contact support