environmentVariables

Delete an environment variable

Deletes an environment variable

delete/accounts/{account_id}/env/{key}

Request

  • Base URL
    https://api.netlify.com/api/v1
  • URL
    https://api.netlify.com/api/v1/accounts/{account_id}/env/{key}
  • Auth
    OAuth 2
    Implicit: https://app.netlify.com/authorize

Path parameters

account_idstring required

Scope response to account_id

keystring required

The environment variable key (case-sensitive)

Query parameters

site_idstring

If provided, delete the environment variable from this site

Response

No Content (success)

Changes

No recorded changes to this operation across all 65 revisions of this API.