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/hosts/delete.mdx

41 lines
1.2 KiB

---
layout: docs
page_title: hosts delete - Command
description: >-
The "hosts delete" command deletes an existing host 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.
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
# hosts delete
Command: `hosts delete`
The `hosts delete` command lets you delete an existing host by providing the ID.
## Example
This example deletes a host with the ID `h_1234567890`:
```shell-session
$ boundary hosts delete -id h_1234567890
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary hosts delete [options] [args]
```
</CodeBlockConfig>
### Command options
- `-id=<string>` - The ID of the host you want to delete.
@include 'cmd-option-note.mdx'