# delete

Delete a previously generated policy

### **Usage**

```sh
vhsm nitride policy delete <name> [flags]
```

* `<name>`: the policy name.

#### Flags

* [Global HTTP Options](/nitride/cli.md#global-options)
* [Output Options](/nitride/cli.md#output-options)
* [Command Options](/nitride/cli.md#command-options)

***

**Example:**

```sh
vhsm nitride policy delete test
```

**Output**

```
Success! Data deleted (if it existed) at: auth/ratls/policies/test
```

**Additional Example:**

* Delete a policy non-interactively::

  ```sh
  vhsm nitride policy delete test -non-interactive
  ```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.enclaive.cloud/nitride/cli/policy/delete.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
