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

# PFAccountManagementServerLinkPSNAccountRequest

> PFAccountManagementServerLinkPSNAccountRequest data model.

PFAccountManagementServerLinkPSNAccountRequest data model.

## Syntax

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

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

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

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

**`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

- [PFAccountManagementServerLinkPSNAccountAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinkpsnaccountasync.md)
- [Services C API overview - PFAccountManagementTypes.h](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementServerLinkXboxAccountRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverlinkxboxaccountrequest.md)
- [PFAccountManagementServerLinkNintendoServiceAccountRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverlinknintendoserviceaccountrequest.md)
- [PFAccountManagementLinkGoogleAccountRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkgoogleaccountrequest.md)
