removeUserRelationship abstract method

  1. @POST.new('/admin/users/remove-relationship')
Future<void> removeUserRelationship({
  1. @Body.new() required RemoveUserRelationshipRequest body,
})

Remove user relationship.

Remove a single relationship row for a user. For friend and outgoing_request, the mirror entry on the other user is also removed. Dispatches RELATIONSHIP_REMOVE gateway events. Requires USER_REMOVE_RELATIONSHIP permission.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/users/remove-relationship')
Future<void> removeUserRelationship({
  @Body() required RemoveUserRelationshipRequest body,
});