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

# PFAccountManagementServerUnlinkPSNAccountAsync

> API de servidor para desvincular a conta PlayStation Network de uma conta de jogador PlayFab especificada, removendo a PSN como opção de entrada para esse jogador.

Desvincula a conta PlayStation :tm: Network relacionada da conta PlayFab do usuário

## Sintaxe

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

### Parâmetros

**`titleEntityHandle`**   PFEntityHandle

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

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

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

- [PFAccountManagementServerUnlinkXboxAccountAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverunlinkxboxaccountasync.md)
- [PFAccountManagementServerUnlinkNintendoServiceAccountAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverunlinknintendoserviceaccountasync.md)
- [PFAccountManagementServerUnlinkBattleNetAccountAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverunlinkbattlenetaccountasync.md)
- [PFAccountManagementServerUnlinkServerCustomIdAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverunlinkservercustomidasync.md)
- [PFAccountManagementServerUnlinkSteamIdAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverunlinksteamidasync.md)
