Documentation

UpdateAvatarUrl

Update the avatar URL of the specified player

Request Details

UpdateAvatarUrlRequest
Request Properties
ImageUrl (required) String

URL of the avatar image. If empty, it removes the existing avatar URL.

PlayFabId (required) String

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

POST https://{{TitleID}}.playfabapi.com/Server/UpdateAvatarUrl
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "PlayFabId": "22ca65837b158fab",
  "ImageUrl": "https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50"
}
        

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