# Deleting policies templates or sub-policies

If no policies are based on a policy template, you can delete the template. Similarly, you can delete a Sub-Policy as long as no Jump rules use it.

To delete a template, there must be no policies that are based on that template. The deletion is not allowed until you either delete the policies or switch them to use a different template.

To delete a Sub-Policy, there must be no policies that have Jump rules that use the Sub-Policy. The deletion is not allowed until you edit or remove the Jump rules in the policies.