consul/website/pages/docs/commands/acl/auth-method/delete.mdx

39 lines
678 B
Plaintext
Raw Normal View History

---
2020-04-07 18:55:19 +00:00
layout: docs
page_title: 'Commands: ACL Auth Method Delete'
sidebar_title: 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
2020-04-07 18:55:19 +00:00
@include 'http_api_options_client.mdx'
2020-04-07 23:56:08 +00:00
2020-04-07 18:55:19 +00:00
@include 'http_api_options_server.mdx'
#### Command Options
2020-04-07 18:55:19 +00:00
- `-name=<string>` - The Name of the auth method to delete.
#### Enterprise Options
2020-04-07 18:55:19 +00:00
@include 'http_api_namespace_options.mdx'
## Examples
Delete an auth method:
2020-04-07 23:56:08 +00:00
```shell
$ consul acl auth-method delete -name minikube
Auth-method "minikube" deleted successfully
```