> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAccountManagementServerUpdateAvatarUrlAsync

> 指定したプレイヤーのアバター URL を更新します。

指定したプレイヤーのアバター URL を更新します。

## 構文

```cpp theme={null}
HRESULT PFAccountManagementServerUpdateAvatarUrlAsync(  
    PFEntityHandle titleEntityHandle,  
    const PFAccountManagementServerUpdateAvatarUrlRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`titleEntityHandle`**   PFEntityHandle

PFAuthenticationGetEntityWithSecretKeyAsync を使用して取得した、タイトル エンティティの PFEntityHandle。

**`request`**   [PFAccountManagementServerUpdateAvatarUrlRequest\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverupdateavatarurlrequest.md)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API は Win32、Linux、および macOS で利用できます。操作の状態を取得するには、XAsyncGetStatus を呼び出します。サービス呼び出しが失敗した場合、非同期の結果はグローバルな PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

**ヘッダー:** PFAccountManagement.h

## 関連項目

[PFAccountManagement のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)


## Related topics

- [PFAccountManagementServerUpdateAvatarUrlRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverupdateavatarurlrequest.md)
- [PFAccountManagementClientUpdateAvatarUrlAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientupdateavatarurlasync.md)
- [PFAccountManagementClientUpdateAvatarUrlRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientupdateavatarurlrequest.md)
- [PFAccountManagementServerUpdateBansAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverupdatebansasync.md)
- [Update Avatar Url](https://docs.xbox.com/api-reference/account-management/update-avatar-url.md)
