removeRelationship abstract method

  1. @DELETE.new('/users/@me/relationships/{user_id}')
Future<void> removeRelationship({
  1. @Path.new('user_id') required SnowflakeType userId,
})

Remove relationship.

Removes a relationship with another user by ID. Removes friends, cancels friend requests (incoming or outgoing), or unblocks a blocked user depending on current relationship type.

userId - The ID of the user.

Implementation

@DELETE('/users/@me/relationships/{user_id}')
Future<void> removeRelationship({
  @Path('user_id') required SnowflakeType userId,
});