deleteFriendship

open override fun deleteFriendship(friendshipID: Friendship.FriendshipID): Friendship?

Deletes a friendship by its ID. Also publishes a FriendshipRemoved event to the Kafka broker and the Vert.x event bus.

Return

The deleted friendship, or null if it does not exist.

Parameters

friendshipID

The ID of the friendship to delete.