Search Engine: Elastic

Article ID: 120455, created on Mar 6, 2014, last review on Sep 23, 2016

  • Applies to:
  • Operations Automation
  • Business Automation


There are subscriptions in the status "Terminated/Stopped", which can be irrevocably destroyed by clicking "Destroy" button. Is there any way to do the same with API?


The setting "Destroy Service on Cancel" is set to "No" in the service template the subscriptions are based on. Changing this setting will only influence newly cancelled subscriptions


It is possible to destroy the subscription with a set of API calls:

  1. On POA side the subscription is to be removed completely, therefore pem.removeSubscription must be called.

  2. On PBA side the subscription status is to be changed to Terminated/Removed, which can be done with SubscriptionStatusUpdate_API (status - 60, ServStatus - 90).

NOTE: API request can be sent with 'curl' utility. Example:

For OA:

curl -k -d@ApiRequest.xml

For BA:

curl -k -d@ApiRequest.xml

, where ApiRequest.xml is a file containing API request code.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF