Configuring the UnPublish from API-Portal Policy
Use the following procedure to configure the UnPublish from API-Portal action in the UnPublish from API-Portal policy. This policy removes specified API metadata bundle from the API-Repository.
To configure the UnPublish from API-Portal policy
1. Open CentraSite Control.
2. Go to Policies > Design/Change Time to display the policy list.
3. Enable the Show Predefined Policies option to display the predefined policies that CentraSite provides.
4. Click the UnPublish from API-Portal policy. This opens the Design/Change-Time Policy Details page.
5. If the policy is active, deactivate it. You cannot configure an active policy. If you need procedures for this step, see the CentraSite User’s Guide .
6. In the Actions tab, click the UnPublish from API-Portal action. Open the Edit Action Parameters page, and then do the following.
a. Set the following parameter:
API-Portal | Optional. String. Array. The name of the API-Portal from that repository the API metadata would be removed. Note: | However, if you want to execute this policy in a prestatechange or poststatechange event that is not provided by default, then you must specify a value for this field. |
|
The event scope of this action is:
PreDelete
PostDelete
PreStateChange
PostStateChange
OnTrigger
b. Click Save to save the parameter setting.
7. After you configure the parameters for all of the actions in the list, click Save to save the updated policy.
8. When you are ready to put the policy into effect, activate it as described in the CentraSite User’s Guide .