deleteSchedule

Function

Delete the schedule for an item

Delete the schedule for an item

  • deleteSchedule(itemId: string, requestOptions: IUserRequestOptions) : Promise<IHubScheduleResponse>

Parameters

Parameter Type Default Notes
itemId Required string

The item to delete the schedule for

requestOptions Required IUserRequestOptions

The request options needed to get the HubApiUrl

Available requestOptions

Property Type Notes

Returns

Property Type Notes
message string
error Optional string
schedule Optional IHubSchedule
statusCode Optional number

Function defined in common/src/content/manageSchedule.ts:100