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

# PFAccountManagementClientUnlinkNintendoSwitchDeviceIdAsync

> API de cliente para desvincular el identificador de dispositivo de Nintendo Switch de la cuenta de PlayFab del jugador autenticado para que ya no pueda iniciar sesión como este jugador.

Desvincula el NintendoSwitchDeviceId relacionado de la cuenta de PlayFab del usuario

## Sintaxis

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

### Parámetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle que se usará para la autenticación.

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

Objeto de solicitud rellenado.

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

XAsyncBlock para la operación asincrónica.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API.

## Comentarios

Esta API está disponible en Win32, Linux y macOS. Vea también ClientLinkNintendoSwitchDeviceIdAsync, ClientLoginWithNintendoSwitchDeviceIdAsync. Llame a XAsyncGetStatus para obtener el estado de la operación. Si la llamada al servicio no se realiza correctamente, el resultado asincrónico será E\_PF\_ACCOUNT\_NOT\_LINKED, E\_PF\_NINTENDO\_SWITCH\_DEVICE\_ID\_NOT\_LINKED o cualquiera de los errores globales de PlayFab Service. Consulte la página de documentación "Handling PlayFab Errors" para obtener más detalles sobre el control de errores.

## Requisitos

**Encabezado:** PFAccountManagement.h

## Consulte también

[Miembros de PFAccountManagement](/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [Información general de la API de C de Services - PFAccountManagement.h](/es/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementClientUnlinkNintendoSwitchDeviceIdRequest](/es/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientunlinknintendoswitchdeviceidrequest.md)
- [PFAccountManagementClientLinkNintendoSwitchDeviceIdAsync](/es/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinknintendoswitchdeviceidasync.md)
- [PFAccountManagementServerUnlinkNintendoSwitchDeviceIdAsync](/es/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverunlinknintendoswitchdeviceidasync.md)
- [PFAccountManagementServerUnlinkNintendoSwitchDeviceIdRequest](/es/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverunlinknintendoswitchdeviceidrequest.md)
