Topics: |
Use the following REST call to enable or disable a subscription. When a subscription is disabled no changes will be set to the subscriber.
Topics: |
Specify the subscription ID and the new status of the subscription.
PUT https://localhost:9514/server/api/v1/server/cdc/subscribe/5f1021c3-234b-4a05-ae88-86ff6af8aa8e?status=disable
Content-Type: application/xml
-- response --
200 OK Server: Apache-Coyote/1.1 X-Application-Context: application:9500 Content-Type: application/xml;charset=UTF-8 Transfer-Encoding: chunked Date: Thu, 03 May 2018 11:41:36 GMT
<RestResponse> <status>0</status> <statusText/> <responseType>java.lang.String</responseType> <response>DISABLED</response> </RestResponse>