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

# PFAccountManagementServerLinkBattleNetAccountRequest

> PFAccountManagementServerLinkBattleNetAccountRequest data model.

PFAccountManagementServerLinkBattleNetAccountRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFAccountManagementServerLinkBattleNetAccountRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    const char* identityToken;  
    const char* playFabId;  
} PFAccountManagementServerLinkBattleNetAccountRequest;  
```

### Members

**`customTags`**   [PFStringDictionaryEntry](https://docs.xbox.com/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry.md) const\*\
*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`forceLink`**   bool const\*\
*may be nullptr*

(Optional) If another user is already linked to a specific Battle.net account, unlink the other user and re-link.

**`identityToken`**   const char\*\
*is null-terminated*

The JSON Web Token (JWT) returned by Battle.net after login.

**`playFabId`**   const char\*\
*is null-terminated*

Unique PlayFab assigned ID of the user on whom the operation will be performed.

## Requirements

**Header:** PFAccountManagementTypes.h

## See also

[PFAccountManagementTypes members](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)


## Related topics

- [PFAccountManagementServerLinkBattleNetAccountAsync](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinkbattlenetaccountasync.md)
- [Services C API overview - PFAccountManagementTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [Link Battle Net Account](https://docs.xbox.com/api-reference/account-management/link-battle-net-account.md)
- [PFAccountManagementClientLinkBattleNetAccountRequest](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientlinkbattlenetaccountrequest.md)
- [PFAccountManagementClientLinkBattleNetAccountAsync](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkbattlenetaccountasync.md)
