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

# PFAccountManagementLinkPSNIdRequest

> PFAccountManagementLinkPSNIdRequest data model.

PFAccountManagementLinkPSNIdRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFAccountManagementLinkPSNIdRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    int32_t const* issuerId;  
    const char* playFabId;  
    const char* PSNUserId;  
    const char* sandboxId;  
} PFAccountManagementLinkPSNIdRequest;  
```

### 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 the account, unlink the other user and re-link.

**`issuerId`**   int32\_t const\*\
*may be nullptr*

(Optional) Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment.

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

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

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

Id of the PlayStation :tm: Network user. Also known as the PSN Account Id.

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

(Optional) Optional sandbox id. When provided, resolves and links the player on that PlayStation :tm: Network sandbox.

## Requirements

**Header:** PFAccountManagementTypes.h

## See also

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


## Related topics

- [PFAccountManagementServerLinkPSNIdAsync](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinkpsnidasync.md)
- [Services C API overview - PFAccountManagementTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementLinkSteamIdRequest](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinksteamidrequest.md)
- [PFAccountManagementLinkOpenIdConnectRequest](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkopenidconnectrequest.md)
- [PFAccountManagementLinkServerCustomIdRequest](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkservercustomidrequest.md)
