Updates the tag list for a specified user in the friend list of another user

Request Details

This operation is not additive. It will completely replace the tag list for the specified user. Please note that only users in the PlayFab friends list can be assigned tags. Attempting to set a tag on a friend only included in the friends list from a social site integration (such as Facebook or Steam) will return the AccountNotFound error.

Request Properties
FriendPlayFabId (required) String

PlayFab identifier of the friend account to which the tag(s) should be applied.

PlayFabId (required) String

PlayFab identifier of the player whose friend is to be updated.

Tags (required) List<String>

Array of tags to set on the friend account.

POST https://{{TitleID}}
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
  "PlayFabId": "ABCDEF123456",
  "FriendPlayFabId": "298ABC37799",
  "Tags": [
    "great sniper",
    "sucks at melee"

Response Details

Result Properties

Sample Response

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



Possible Error Codes

Name Code
AccountNotFound 1001