Documentation

RemoveFriend

Removes the specified friend from the the user's friend list

Request Details

RemoveFriendRequest
Request Properties
FriendPlayFabId (required) String

PlayFab identifier of the friend account which is to be removed.

PlayFabId (required) String

Unique PlayFab assigned ID of the user on whom the operation will be performed.

POST https://{{TitleID}}.playfabapi.com/Server/RemoveFriend
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "FriendPlayFabId": "29837799",
  "PlayFabId": "1a46086aed40f142"
}
        

Response Details

EmptyResponse
Result Properties

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8


Authentication

SecretKey

Possible Error Codes

Name Code
AccountNotFound 1001