Skip to main content
DELETE
Remove an env var

Authorizations

Authorization
string
header
required

Bearer token authentication. Accepts company admin tokens with the matching mist.* permission:

  • mist.view to list and show Mists
  • mist.create to create and rename Mists
  • mist.destroy to delete and restore Mists
  • mist.code for deployments and logs
  • mist.env_vars to read and manage environment variables Droplet installation tokens are refused.

Path Parameters

mist_id
string<uuid>
required

UUID of the company-owned Mist app.

key
string
required

Environment variable name, such as STRIPE_API_KEY.

Pattern: ^[A-Za-z_][A-Za-z0-9_]*$

Response

Removed env var (echoed back)

env_var
object