Software AG Products 10.5 | Using CentraSite | Suite Usage Aspects | Using CentraSite with webMethods API Portal | Configuring and Activating Design/Change-Time Policies That API Portal Uses | Configuring Unpublish from API Portal Policy
 
Configuring Unpublish from API Portal Policy
Use the following procedure to configure the Unpublish from API-Portal action in the Unpublish from API-Portal policy. The policy removes specified API metadata bundle from the API Portal registry:
*To configure the unpublish from API Portal policy
1. In CentraSite Control, go to Policies > Design/Change Time.
2. Enable the Show Predefined Policies option.
A list of the predefined policies appears.
3. Click the Unpublish from API-Portal policy.
4. If the policy is active, deactivate it.
5. In the Actions tab, click the Unpublish from API-Portal action. In the Edit Action Parameters page, do the following.
a. Define the policy parameters:
API-Portal
(Optional). (String). (Array). Name of the API Portal gateway from which the API metadata is to be removed.
Note:
However, if you want to execute this policy in a Pre-State Change or Post-State Change event that is not provided by default, then you must specify a value for this field.
The available event types are:
*Pre-Delete
*Post-Delete
*Pre-State Change
*Post-State Change
*OnTrigger
b. Click Save to save the parameter settings.
6. After you configure the parameters for all of the actions in the list, click Save to save the updated policy.
7. When you are ready to put the policy into effect, activate it.