/// <summary> /// Deletes a process schedule. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Jobs or Jobs.Write. /// /// Required permissions: Schedules.Delete. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// key: Id /// </param> /// <param name='ifMatch'> /// If-Match header /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static void DeleteById(this IProcessSchedules operations, long id, string ifMatch = default(string), long?xUIPATHOrganizationUnitId = default(long?)) { operations.DeleteByIdAsync(id, ifMatch, xUIPATHOrganizationUnitId).GetAwaiter().GetResult(); }
/// <summary> /// Deletes a process schedule. /// </summary> /// <remarks> /// Required permissions: Schedules.Delete. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// key: Id /// </param> /// <param name='ifMatch'> /// If-Match header /// </param> public static void DeleteById(this IProcessSchedules operations, long id, string ifMatch = default(string)) { operations.DeleteByIdAsync(id, ifMatch).GetAwaiter().GetResult(); }
/// <summary> /// Deletes a process schedule. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Jobs or Jobs.Write. /// /// Required permissions: Schedules.Delete. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='key'> /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static void DeleteById(this IProcessSchedules operations, long key, long?xUIPATHOrganizationUnitId = default(long?)) { operations.DeleteByIdAsync(key, xUIPATHOrganizationUnitId).GetAwaiter().GetResult(); }