Browse SDKs · iOS
SDKsiOSEnterprise

Delete group applications

Delete iOS group-application records in batches.

Copy
DeleteGroupRequest *request =
  [[DeleteGroupRequest alloc] initWithGroupID:application.groupID
                                   fromUserID:application.userID];
[[OIMManager manager] deleteGroupRequests:@[request]
  onSuccess:^(NSString * _Nullable data) { [self reloadApplications]; }
  onFailure:^(NSInteger code, NSString *message) { [self showErrorCode:code message:message]; }];

Deleting a record is not the same as rejecting an application and does not change group membership. Other clients remove the same record through onGroupApplicationDeleted:.