config unset

<!-- prettier-ignore-start -->

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
<code>‑‑flags‑dir</code> N/A Type: Value<br><br>Import flag values from a directory.
<code>‑‑global</code> <code>‑g</code> Type: Boolean<br><br>Unset the configuration variables globally.
<code>‑‑json</code> N/A Type: Boolean<br><br>Format output as json.

Examples for config unset

Unset the local "target-org" configuration variable:

sf config unset target-org

Unset multiple configuration variables globally:

sf config unset target-org api-version --global
<!-- prettier-ignore-end -->