environmentVariables
Update an environment variable
Updates an existing environment variable and all of its values. Existing values will be replaced by values provided.
put/accounts/{account_id}/env/{key}
Request
- Base URLhttps://api.netlify.com/api/v1
- URLhttps://api.netlify.com/api/v1/accounts/{account_id}/env/{key}
- AuthOAuth 2Implicit: https://app.netlify.com/authorize
Path parameters
account_idstring required
Scope response to account_id
keystring required
The existing environment variable key name (case-sensitive)
Query parameters
site_idstring
If provided, update an environment variable set on this site
Request body
Response
OK
Changes
No recorded changes to this operation across all 65 revisions of this API.