function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
zgcharley_09zgcharley_09 

How to unsubscribe PushTopic?

Hi,

 

If i subscribe a PushTopic though query string "SELECT Id,Name,BillingCity FROM Account Where Name Like 'sfdc%' ", let's assum the name of this PushTopic called 'Account_SFDC_Like'.  Then how can i upsubscribe this PushTopic?

 

Just delete this PushTopic record? Or some other ways?

 

Thx

zg

 

 

alextalext

Hi,

 

You can use the "unsubscribe" call from cometd.

 

http://cometd.org/documentation

 

Will ask our doc team to make this explicit in our docs.

 

Cheers,

 

--alex