b9996e6bbe
Also update the Docs and fixup the HTTP API to return proper errors when someone attempts to use Namespaces with an OSS agent. Add Namespace HTTP API docs Make all API endpoints disallow unknown fields
38 lines
758 B
Plaintext
38 lines
758 B
Plaintext
---
|
|
layout: "docs"
|
|
page_title: "Commands: ACL Auth Method Delete"
|
|
sidebar_current: "docs-commands-acl-auth-method-delete"
|
|
---
|
|
|
|
# Consul ACL Auth Method Delete
|
|
|
|
Command: `consul acl auth-method delete`
|
|
|
|
The `acl auth-method delete` command deletes an auth method.
|
|
|
|
## Usage
|
|
|
|
Usage: `consul acl auth-method delete [options]`
|
|
|
|
#### API Options
|
|
|
|
<%= partial "docs/commands/http_api_options_client" %>
|
|
<%= partial "docs/commands/http_api_options_server" %>
|
|
|
|
#### Command Options
|
|
|
|
* `-name=<string>` - The Name of the auth method to delete.
|
|
|
|
#### Enterprise Options
|
|
|
|
<%= partial "docs/commands/http_api_namespace_options" %>
|
|
|
|
## Examples
|
|
|
|
Delete an auth method:
|
|
|
|
```sh
|
|
$ consul acl auth-method delete -name minikube
|
|
Auth-method "minikube" deleted successfully
|
|
```
|