open-vault/website/pages/docs/commands/policy/delete.mdx
Jeff Escalante df34412570 New Website! (#8154)
* new documentation website

* ci job adjustment

* update to latest version on downloads page

* remove transition-period scripts

* add netlify toml file

* fix docs patch

* fix ci config?

* revert go.mod changes

* a couple last markdown formatting fixes
2020-01-17 16:18:09 -08:00

32 lines
791 B
Plaintext

---
layout: docs
page_title: policy delete - Command
sidebar_title: <code>delete</code>
description: |-
The "policy delete" command deletes the policy named NAME in the Vault server.
Once the policy is deleted, all tokens associated with the policy are affected
immediately.
---
# policy delete
The `policy delete` command deletes the policy named NAME in the Vault server.
Once the policy is deleted, all tokens associated with the policy are affected
immediately.
Note that it is not possible to delete the "default" or "root" policies. These
are built-in policies.
## Examples
Delete the policy named "my-policy":
```text
$ vault policy delete my-policy
```
## Usage
There are no flags beyond the [standard set of flags](/docs/commands/index.html)
included on all commands.