Delete Policy

If you decide that a policy is no longer required, you can delete it by using the Delete Policy command.

delete policy NAME;
  • NAME is the name of the policy to be deleted. If the name is not found, an error message will result.

This command searches the list of policies. If the name is found, that policy is deleted IF there are no objects that use the policy. If there are objects that use the policy, they must be reassigned or deleted before the policy can be removed from the policy list.

If the policy references any rules, the delete policy removes all database records that associate those rules to the policy, but it does not delete any rules.

For example, you might enter this command to delete the policy named “Performance and Salary Review:”

delete policy "Performance and Salary Review";