Classic APIs
ClassicFriendsApi
authenticatedUserDeclineFriendRequest

authenticatedUserDeclineFriendRequest

Accepts a friend request from a specific user for the authenticated user.

Parameters

NameTypeDescription
requesterUserIdIdentifierThe id of the user to decline friend request from.

Example

const { data: success } = await ClassicFriendsApi.authenticatedUserDeclineFriendRequest({
  requesterUserId: 2655994471,
}); 

Endpoint

POST /v1/users/{requesterUserId}/decline-friend-request