You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/website/content/docs/commands/credentials/delete.mdx

43 lines
1.3 KiB

---
layout: docs
page_title: credentials delete - Command
description: >-
The "credentials delete" command deletes an existing credential resource.
---
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
> [!IMPORTANT]
> **Documentation Update:** Product documentation previously located in `/website` has moved to the [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs) repository, where all product documentation is now centralized. Please make contributions directly to `web-unified-docs`, since changes to `/website` in this repository will not appear on developer.hashicorp.com.
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
# credentials delete
Command: `boundary credentials delete`
The `credentials delete` command lets you delete a credential given its ID.
## Examples
The following example deletes a credential with the ID `credup_6zHHwQWvUS`:
```shell-session
$ boundary credentials delete -id credup_6zHHwQWvUS
The delete operation completed successfully.
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary credentials delete [options] [args]
```
</CodeBlockConfig>
### Command options
- `-id` `(string: "")` - The ID of the credential to delete.
@include 'cmd-option-note.mdx'