const unregistered = await dynamicTrigger.unregister(userId);
Use this method to unregister a schedule from a DynamicTrigger.
The id to unregister. This is what you used when you registered it.
A Promise that resolves to:
OK is true if the schedule was unregistered successfully.
Was this page helpful?