2
========================
4
To delete a policy, use the kadmin *delete_policy* command, which requires the "delete" administrative privilege. The syntax is::
6
delete_policy [-force] policy_name
9
The *delete_policy* command has the alias **delpol**. It prompts for confirmation before deletion.
13
kadmin: delete_policy guests
14
Are you sure you want to delete the policy "guests"?
18
.. note:: You must cancel the policy from *all* principals before deleting it. The *delete_policy* command will fail if it is in use by any principals.
26
Please, provide your feedback at krb5-bugs@mit.edu?subject=Documentation___db_policies