Skip to main content

policy delete

The policy delete command deletes the policy named NAME in the OpenBao 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":

$ bao policy delete my-policy

Usage

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