Instance methods
DynamicSchedule: unregister() instance method
Use this method to unregister a schedule from a DynamicSchedule.
Parameters
idrequired
string
The id of the schedule to unregister. This is what you used when you registered it.
Returns
A Promise that resolves to:
ok
boolean
OK is true if the schedule was unregistered successfully.
const unregistered = await dynamicSchedule.unregister(userId);
Was this page helpful?
const unregistered = await dynamicSchedule.unregister(userId);