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

> API de servidor para desvincular um identificador de dispositivo Nintendo Switch de uma conta de jogador PlayFab especificada, para que o dispositivo não possa mais entrar como esse jogador.

Desvincula o NintendoSwitchDeviceId relacionado da conta PlayFab do usuário

## Sintaxe

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

### Parâmetros

**`titleEntityHandle`**   PFEntityHandle

PFEntityHandle para uma Entidade de título obtida usando PFAuthenticationGetEntityWithSecretKeyAsync.

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

Objeto de solicitação preenchido.

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

XAsyncBlock para a operação assíncrona.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API.

## Comentários

Esta API está disponível em Win32, Linux e macOS. Consulte também ServerLinkNintendoSwitchDeviceIdAsync. Chame XAsyncGetStatus para obter o status da operação. Se a chamada de serviço não for bem-sucedida, o resultado assíncrono será E\_PF\_ACCOUNT\_NOT\_LINKED, E\_PF\_NINTENDO\_SWITCH\_DEVICE\_ID\_NOT\_LINKED ou qualquer um dos erros globais do Serviço PlayFab. Consulte a página de documentação "Handling PlayFab Errors" para obter mais detalhes sobre o tratamento de erros.

## Requisitos

**Cabeçalho:** PFAccountManagement.h

## Confira também

[Membros de PFAccountManagement](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [PFAccountManagementServerUnlinkNintendoSwitchDeviceIdRequest](/pt-BR/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverunlinknintendoswitchdeviceidrequest.md)
- [PFAccountManagementClientUnlinkNintendoSwitchDeviceIdAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinknintendoswitchdeviceidasync.md)
- [PFAccountManagementServerLinkNintendoSwitchDeviceIdAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinknintendoswitchdeviceidasync.md)
- [PFAccountManagementClientUnlinkNintendoSwitchDeviceIdRequest](/pt-BR/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientunlinknintendoswitchdeviceidrequest.md)
- [PFAccountManagementClientLinkNintendoSwitchDeviceIdAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinknintendoswitchdeviceidasync.md)
