Mist apps
Remove an env var
Removes one of your environment variables from the Mist’s deployment project and echoes back the removed variable. The removal takes effect on the next deployment.
Returns 404 if no variable with that key exists, 422 with
error.details.type of managed_var for a Mist-managed variable,
and 409 while the Mist is pending_destroy.
Requires a company admin token with the mist.env_vars permission.
DELETE
Remove an env var
Authorizations
Bearer token authentication. Accepts company admin tokens with
the matching mist.* permission:
mist.viewto list and show Mistsmist.createto create and rename Mistsmist.destroyto delete and restore Mistsmist.codefor deployments and logsmist.env_varsto read and manage environment variables Droplet installation tokens are refused.
Path Parameters
UUID of the company-owned Mist app.
Environment variable name, such as STRIPE_API_KEY.
Pattern:
^[A-Za-z_][A-Za-z0-9_]*$Response
Removed env var (echoed back)