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

# PFAccountManagementLinkAppleRequest

> PFAccountManagementLinkAppleRequest data model.

PFAccountManagementLinkAppleRequest data model.

## Syntax

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

### Members

**`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 a specific Apple account, unlink the other user and re-link.

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

The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization credential payload. Used to validate the request and find the user ID (Apple subject) to link with.

## Requirements

**Header:** PFAccountManagementTypes.h

## See also

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


## Related topics

- [PFAccountManagementClientLinkAppleAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkappleasync.md)
- [Services C API overview - PFAccountManagementTypes.h](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementUnlinkAppleRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementunlinkapplerequest.md)
- [PFAccountManagementClientLinkPSNAccountRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientlinkpsnaccountrequest.md)
- [PFAccountManagementServerLinkPSNAccountRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverlinkpsnaccountrequest.md)
