2023-09-12 11:37:31 -07:00
|
|
|
---
|
|
|
|
|
layout: docs
|
|
|
|
|
page_title: auth-methods delete - Command
|
2024-12-17 14:13:18 -05:00
|
|
|
description: >-
|
|
|
|
|
The "auth-methods delete" command deletes an existing auth method resource.
|
2023-09-12 11:37:31 -07:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# auth-methods delete
|
|
|
|
|
|
|
|
|
|
Command: `boundary auth-methods delete`
|
|
|
|
|
|
|
|
|
|
The `auth-methods delete` command deletes an auth method given its ID.
|
|
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
|
|
The following example deletes an auth method with the ID, `moidc_oHt4HQFCrN`.
|
|
|
|
|
|
|
|
|
|
```shell-session
|
|
|
|
|
$ boundary auth-methods delete -id amoidc_oHt4HQFCrN
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
<CodeBlockConfig hideClipboard>
|
|
|
|
|
|
|
|
|
|
```shell-session
|
|
|
|
|
$ boundary auth-methods delete [options] [args]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
</CodeBlockConfig>
|
|
|
|
|
|
|
|
|
|
### Command options
|
|
|
|
|
|
|
|
|
|
- `-id` `(string: "")` - The ID of the auth method to delete.
|
|
|
|
|
|
|
|
|
|
@include 'cmd-option-note.mdx'
|