environmentVariables

Delete an environment variable value

Deletes a specific environment variable value.

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

Request

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

Path parameters

account_idstring required

Scope response to account_id

idstring required

The environment variable value's ID

keystring required

The environment variable key name (case-sensitive)

Query parameters

site_idstring

If provided, delete the value from an environment variable on this site

Response

No Content (success)

Changes

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