# config unset

Unset local or global configuration variables.

## Description for config unset

Local configuration variables apply only to your current project. Global configuration variables apply in any Salesforce DX project.

For the full list of available configuration variables, see <https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_config_values.htm>.

## Aliases for config unset

`force:config:unset`

## Flags

| Flag Name (Long) | Flag Name (Short) | Description                                                          |
| ---------------- | ----------------- | -------------------------------------------------------------------- |
| `--flags-dir`    | N/A               | **Type:** Value<br><br>Import flag values from a directory.          |
| `--global`       | `-g`              | **Type:** Boolean<br><br>Unset the configuration variables globally. |
| `--json`         | N/A               | **Type:** Boolean<br><br>Format output as json.                      |

## Examples for config unset

Unset the local "target-org" configuration variable:

```shell
sf config unset target-org
```

Unset multiple configuration variables globally:

```shell
sf config unset target-org api-version --global
```
