const unregistered = await dynamicSchedule.unregister(userId);

Parameters

id
string
required

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.