Learn how to add policies globally to multiple APIs.
About this task
Note: This procedure applies only to the IBM® webMethods API Gateway.
Add a policy on a global level to enforce rules and manage API behavior for all the selected
APIs.
Procedure
-
From the Quick start page, click Add a global
policy.
The Create global policy pop-up window
appears.
- Provide the following details:
- Global policy name
- Namespace
- Version
- Tags
- Click Create.
The policy file is created, and the
global policy configuration screen opens.
- In the API filtering criteria section, select one or more of these
options to configure the API type:
Select one or more of the
following options:
- Select one or more of these options to configure the Supported
operations:
- GET
- PUT
- POST
- DELETE
- PATCH
- HEAD
- In the Filter attributes section, define the attributes to control
where the global policy applies.
- Select the policy sequence to add the required policies.
What to do next
You can view and filter global policies in the Published assets page
from the API Manager homepage.
For information about using the global policy filter, see Using the Global
Policy filter.