Hello
We do provide an endpoint to disable a stream target. You can see this on our documentation server described as a put request as follows:
PUT /v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/pushpublish/mapentries/{entryName}/actions/{action}
A cURL example might look like:
curl --digest -u "user:pass" -X PUT --header 'Accept:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/test/actions/disable
You have to do this on a per entry basis. You can obtain a list of all entries and iterate through them as required and disable the given target.
GET /v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/pushpublish/mapentries
Thanks,
Matt