open-consul/website/pages/commands/config/delete.mdx

36 lines
747 B
Plaintext
Raw Normal View History

---
layout: commands
2020-04-07 18:55:19 +00:00
page_title: 'Commands: Config Delete'
sidebar_title: delete
---
# Consul Config Delete
Command: `consul config delete`
The `config delete` command deletes the configuration entry specified by the
2020-04-09 23:46:54 +00:00
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
2020-04-07 18:55:19 +00:00
@include 'http_api_options_client.mdx'
#### Enterprise Options
2020-04-07 18:55:19 +00:00
@include 'http_api_namespace_options.mdx'
#### Config Delete Options
2020-04-07 18:55:19 +00:00
- `-kind` - Specifies the kind of the config entry to read.
2020-04-07 18:55:19 +00:00
- `-name` - Specifies the name of the config entry to read.
## Examples
$ consul config delete -kind service-defaults -name web