Classic APIs
ClassicFriendsApi
authenticatedUserUnfriend

authenticatedUserUnfriend

Removes a friend for the authenticated user.

Parameters

NameTypeDescription
targetUserId🤷The id of the user to remove as friend.

Example

const { data: success } = await ClassicFriendsApi.authenticatedUserUnfriend({ userId: 2655994471 }); 

Endpoint

POST /v1/users/{targetUserId}/unfriend