removeUserRelationship abstract method
- @POST.new('/admin/users/remove-relationship')
- @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,
});