/// <summary> /// Delete a test set /// </summary> /// <remarks> /// Client Credentials Flow required permissions: TestSets or TestSets.Write. /// /// Required permissions: TestSets.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 ITestSets operations, long id, string ifMatch = default(string), long?xUIPATHOrganizationUnitId = default(long?)) { operations.DeleteByIdAsync(id, ifMatch, xUIPATHOrganizationUnitId).GetAwaiter().GetResult(); }
/// <summary> /// Delete a test set /// </summary> /// <remarks> /// Client Credentials Flow required permissions: TestSets or TestSets.Write. /// /// Required permissions: TestSets.Delete. /// /// Responses: /// 204 The Test Set was deleted /// 403 If the caller doesn't have permissions to delete Test Sets /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='key'> /// ID of the Test Set to delete /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static void DeleteById(this ITestSets operations, long key, long?xUIPATHOrganizationUnitId = default(long?)) { operations.DeleteByIdAsync(key, xUIPATHOrganizationUnitId).GetAwaiter().GetResult(); }