> ## 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.

# PFAccountManagementServerUnlinkNintendoSwitchDeviceIdAsync

> 指定した PlayFab プレイヤー アカウントから Nintendo Switch デバイス識別子のリンクを解除し、そのデバイスがこれ以降そのプレイヤーとしてサインインできないようにするサーバー API です。

関連する NintendoSwitchDeviceId をユーザーの PlayFab アカウントからリンク解除します。

## 構文

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

### パラメーター

**`titleEntityHandle`**   PFEntityHandle

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

**`request`**   [PFAccountManagementServerUnlinkNintendoSwitchDeviceIdRequest\*](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverunlinknintendoswitchdeviceidrequest)

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

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

## 関連項目

[PFAccountManagement のメンバー](/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [Services C API overview - PFAccountManagement.h](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementServerUnlinkNintendoSwitchDeviceIdRequest](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverunlinknintendoswitchdeviceidrequest.md)
- [PFAccountManagementServerLinkNintendoSwitchDeviceIdAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinknintendoswitchdeviceidasync.md)
- [PFAccountManagementClientUnlinkNintendoSwitchDeviceIdAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinknintendoswitchdeviceidasync.md)
- [PFAccountManagementClientUnlinkNintendoSwitchDeviceIdRequest](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientunlinknintendoswitchdeviceidrequest.md)
