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

# PFAccountManagementClientLinkPSNAccountRequest

> PFAccountManagementClientLinkPSNAccountRequest data model.

PFAccountManagementClientLinkPSNAccountRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFAccountManagementClientLinkPSNAccountRequest {  
    const char* authCode;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    int32_t const* issuerId;  
    const char* redirectUri;  
} PFAccountManagementClientLinkPSNAccountRequest;  
```

### Members

**`authCode`**   const char\*<br />*is null-terminated*

Authentication code provided by the PlayStation :tm: Network.

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*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\*<br />*may be nullptr*

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

**`issuerId`**   int32\_t const\*<br />*may be nullptr*

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

**`redirectUri`**   const char\*<br />*is null-terminated*

Redirect URI supplied to PlayStation :tm: Network when requesting an auth code.

## Requirements

**Header:** PFAccountManagementTypes.h

## See also

[PFAccountManagementTypes members](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementClientLinkPSNAccountAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkpsnaccountasync.md)
- [Services C API overview - PFAccountManagementTypes.h](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementClientLinkXboxAccountRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientlinkxboxaccountrequest.md)
- [PFAccountManagementClientLinkNintendoServiceAccountRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientlinknintendoserviceaccountrequest.md)
- [PFAccountManagementClientLinkXboxAccountAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkxboxaccountasync.md)
