open-consul/website/content/commands/config/delete.mdx
Daniel Nephin e98d3d3ecb
Update website/content/commands/config/delete.mdx
Co-authored-by: Jono Sosulska <42216911+jsosulska@users.noreply.github.com>
2021-05-06 14:04:26 -04:00

37 lines
851 B
Plaintext

---
layout: commands
page_title: 'Commands: Config Delete'
---
# Consul Config Delete
Command: `consul config delete`
The `config delete` command deletes the configuration entry specified by the
kind and name. See the [configuration entries docs](/docs/agent/config-entries)
for more details about configuration entries.
## Usage
Usage: `consul config delete [options]`
#### API Options
@include 'http_api_options_client.mdx'
#### Enterprise Options
@include 'http_api_namespace_options.mdx'
#### Config Delete Options
- `-kind` - Specifies the kind of the config entry to read.
- `-name` - Specifies the name of the config entry to delete. The name of the
`proxy-defaults` config entry must be `global`, and the name of the `mesh`
config entry must be `mesh`.
## Examples
$ consul config delete -kind service-defaults -name web