/// <summary> /// Deletes a queue item by Id. /// </summary> /// <remarks> /// Required permissions: Queues.View and Transactions.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 IQueueItems operations, long id, string ifMatch = default(string)) { operations.DeleteByIdAsync(id, ifMatch).GetAwaiter().GetResult(); }
/// <summary> /// Deletes a queue item by Id. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Queues or Queues.Write. /// /// Required permissions: Queues.View and Transactions.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 IQueueItems operations, long key, long?xUIPATHOrganizationUnitId = default(long?)) { operations.DeleteByIdAsync(key, xUIPATHOrganizationUnitId).GetAwaiter().GetResult(); }
/// <summary> /// Deletes a queue item by Id. /// </summary> /// <remarks> /// Required permissions: Queues.View and Transactions.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 IQueueItems operations, long id, string ifMatch = default(string), long?xUIPATHOrganizationUnitId = default(long?)) { operations.DeleteByIdAsync(id, ifMatch, xUIPATHOrganizationUnitId).GetAwaiter().GetResult(); }