# Unset

Remove an environment variable.

### Syntax

```
$ vela env unset <key>
```

```
$ vela env unset STRIPE_SECRET_KEY -t production
```

Removing a variable that isn't set reports that there was nothing to remove rather than failing. As with [set](/env/set), the instance is restarted so the change takes effect. Defaults to `-t local`.