# Source: https://docs.convex.dev/deployment-api/update-environment-variables.md

# Update environment variables

```
POST 
/update_environment_variables
```

Update one or many environment variables in a deployment. This will invalidate all subscriptions, since environment variables are accessible in queries but are not part of the cache key of a query result.

## Request[​](#request "Direct link to Request")

## Responses[​](#responses "Direct link to Responses")

* 200