Deleting a Scope-level Policy
You delete a policy at the scope-level to remove the association between the policy and a scope.
When deleting a scope-level policy in the API details page, keep the following points in mind:
You cannot remove a scope-level policy in an active API. If the API in which you want to remove a policy at the scope-level is in the
Active state, you must deactivate it.
When a scope is deleted from the API details,
API Gateway removes the policies that were associated with the deleted scope.
To delete a scope-level policy
1. Click APIs in the title navigation bar.
A list of all registered APIs appears.
2. Select the required API.
This opens the API details page.
3. Click Edit.
If the API is active, API Gateway prompts you to deactivate it.
4. Click the Policies tab.
A list of scopes and policies available with the API appears.
5. In the API Scope box, select the scope whose policy you want to remove.
6. On the Infographic section, click the x icon in any individual policy to remove that particular policy from the scope.
7. When you have removed the policy, click Save to save the updated scope-level policy.
8. Click to view the complete list of policies in the updated API. The Overview button is located in the lower right-corner of the Infographic section.
To exit the overview, click the Close icon.
Post-requisites:
Activate the API when you are ready to put it into effect.