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

# PFGroupsRemoveMembersAsync

> グループからメンバーを削除します。

グループからメンバーを削除します。

## 構文

```cpp theme={null}
HRESULT PFGroupsRemoveMembersAsync(  
    PFEntityHandle entityHandle,  
    const PFGroupsRemoveMembersRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFGroupsRemoveMembersRequest\*](/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsremovemembersrequest)

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

**`async`**   XAsyncBlock\*<br />*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

この API はすべてのプラットフォームで利用できます。グループからメンバーを削除します。メンバーは権限に関係なく、常にグループから自分自身を削除できます。成功した場合は何も返されません。GroupAddMembersAsync、GroupListGroupMembersAsync もあわせて参照してください。操作の状態を取得するには XAsyncGetStatus を呼び出します。サービス呼び出しが失敗した場合、非同期の結果は E\_PF\_ROLE\_DOES\_NOT\_EXIST、またはグローバルな PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

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

## 関連項目

[PFGroups のメンバー](/services/playfab/api-references/c/pfgroups/pfgroups_members)
