Unpublish from API-Portal Policy
The Unpublish from API-Portal policy removes the metadata for an existing API metadata from the API-Portal repository.
The Unpublish from API-Portal policy has a built-in Unpublish from API-Portal action.
Object Scope
The UnPublish from API-Portal policy operates on the following objects:
Service
Virtual Service
XML Service
Virtual XML Service
REST Service
Virtual REST Service
Event Scope
By default, the UnPublish from API-Portal policy executes on OnTrigger event. However, to have this policy execute on a different event, for example, PreStateChange or PostStateChange, that is not provided by default, you can create a custom policy and configure the UnPublish from API-Portal action to execute on the following events, as needed:
PreDelete
PostDelete
PreStateChange
PostStateChange
To integrate CentraSite and API-Portal for publishing processes, you must configure the policy's action parameters and activate the policy.
For more information about setting the action parameters for the UnPublish from API-Portal action, see the CentraSite Developer’s Guide .