Deactivating a Push Topic

You can temporarily deactivate a PushTopic, rather than deleting it, by setting the isActive field to false.

  • To deactivate a PushTopic by Id, execute the following Apex code: