2019-05-01 18:21:11 +00:00
|
|
|
---
|
|
|
|
layout: "docs"
|
|
|
|
page_title: "Commands: Config Delete"
|
|
|
|
sidebar_current: "docs-commands-config-delete"
|
|
|
|
---
|
|
|
|
|
|
|
|
# Consul Config Delete
|
|
|
|
|
|
|
|
Command: `consul config delete`
|
|
|
|
|
2019-05-08 20:19:37 +00:00
|
|
|
The `config delete` command deletes the configuration entry specified by the
|
|
|
|
kind and name. See the [configuration entries docs](/docs/agent/config_entries.html)
|
|
|
|
for more details about configuration entries.
|
2019-05-01 18:21:11 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Usage: `consul config delete [options]`
|
|
|
|
|
|
|
|
#### API Options
|
|
|
|
|
|
|
|
<%= partial "docs/commands/http_api_options_client" %>
|
|
|
|
|
2020-02-07 20:01:04 +00:00
|
|
|
#### Enterprise Options
|
|
|
|
|
|
|
|
<%= partial "docs/commands/http_api_namespace_options" %>
|
|
|
|
|
2019-05-01 18:21:11 +00:00
|
|
|
#### Config Delete Options
|
|
|
|
|
|
|
|
* `-kind` - Specifies the kind of the config entry to read.
|
|
|
|
|
|
|
|
* `-name` - Specifies the name of the config entry to read.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
$ consul config delete -kind service-defaults -name web
|