You can use the administrative console to delete custom policy
sets that you have created. You cannot delete the provided default policy
sets.
Before you begin
If you are deleting an attached policy set, stop all applications
that are attached to endpoints or operations before detaching and then deleting
the policy set. If the policy set is unattached, then you do not need to detach
the policy set before deleting it.
About this task
If a custom policy set is no longer needed, you might choose to delete
it. To delete a custom policy set, use the Application Policy Sets collection
panel.
Procedure
- From the administrative console, click Services > Policy Sets
> Application Policy Sets.
- Click the box in the Select column next to the policy set
that you want to delete. You can only delete custom policy sets.
You cannot delete default policy sets.
- Click the Delete button.
- Verify that you want to delete this policy set.
Results
The selected custom policy set is deleted from the list of policy
sets and is no longer available.
Example
You might decide that the ABC RAMP policy set you created did not
meet your needs as you had expected and you have already created the DEF RAMP
policy set to better meet your needs. You have detached all the applications
and endpoints from the ABC RAMP policy set and you want to delete the policy
set. Click
Services > Policy sets > Application policy sets and
find the ABC RAMP policy set in the listing. Select the ABC RAMP policy set
and click
Delete. Confirm that you want to delete the policy set and
it is removed from the listing of policy sets. Restart the applications that
you detached the ABC RAMP policy from, and you have successfully deleted the
policy set.
Alternatively, and depending on your use case, you might want
to reassign the attachment to another service artifact before deleting the
policy set. Make a copy of the policy set that you are about to delete, then
attach it later to your application or service artifact. See attaching a policy
set to a service artifact. You can now delete the policy set.
What to do next
If you have detached and then deleted a policy set from an application,
restart all affected applications to pick up this change. If the deleted policy
set was unattached, then no further action is required.