open-vault/website/source/docs/commands/policy/delete.html.md
RJ Spiker fca7cb3794 website: update sidebar_title in front matter to use <code> (#5636)
* website: replace deprecated <tt> with <code> in front matter sidebar_title

* website: wrap front matter sidebar_title in <code> for commands pages
2018-10-29 15:58:37 -04:00

844 B

layout page_title sidebar_title sidebar_current description
docs policy delete - Command <code>delete</code> docs-commands-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.

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":

$ vault policy delete my-policy

Usage

There are no flags beyond the standard set of flags included on all commands.