Use the Cloud Integration Hub Change Publication Subscription Mode REST API to change the mode of a publication or a subscription, that is, to enable a disabled publication or subscription or to disable an enabled publication or subscription.
To change the mode of a publication, use the following REST URL:
•<pod> is the name of the Informatica Intelligent Cloud Services point of delivery (PoD) where you access Cloud Integration Hub. For example: cih-pod1, or emw1-cih.
•<baseUrl> is the Informatica Intelligent Cloud Services URL. For example: dm-us.informaticacloud.com/.
•<pod> is the name of the Informatica Intelligent Cloud Services point of delivery (PoD) where you access Cloud Integration Hub. For example: cih-pod1, or emw1-cih.
•<baseUrl> is the Informatica Intelligent Cloud Services URL. For example: dm-us.informaticacloud.com/.
Tip: You can copy the values of <pod> and <baseUrl> from the Cloud Integration Hub URL after you access it from the My Services page of Informatica Intelligent Cloud Services.
Request syntax for changing the mode of a publication
To change the mode of a publication, use the following request syntax:
Change Publication Subscription Mode REST API Action Response
When you use the Cloud Integration Hub REST API to change the mode of a publication or of a subscription, Cloud Integration Hub returns the response code of the action that you perform in the REST API response.
Changing the mode of a publication or a subscription from the REST API returns one of the following response codes:
•When Cloud Integration Hub changes the mode of the publication or the subscription successfully, the API returns a SUCCESS response.
•When Cloud Integration Hub fails to change the mode of the publication or the subscription, the response provides the reason for the failure. For example, when you do not have sufficient privileges to perform the operation.