const unregistered = await dynamicSchedule.unregister(userId);
Use this method to unregister a schedule from a DynamicSchedule.
The id of the schedule 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?