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

# PFAccountManagementDeletePlayerRequest

> PFAccountManagementDeletePlayerRequest data model. Deletes all data associated with the player, including statistics, custom data, inventory, purchases.

PFAccountManagementDeletePlayerRequest data model. Deletes all data associated with the player, including statistics, custom data, inventory, purchases, virtual currency balances, characters and shared group memberships. Removes the player from all leaderboards and player search indexes. Does not delete PlayStream event history associated with the player. Does not delete the publisher user account that created the player in the title nor associated data such as username, password, email address, account linkages, or friends list. Note, this API queues the player for deletion and returns immediately. It may take several minutes or more before all player data is fully deleted. Until the player data is fully deleted, attempts to recreate the player with the same user account in the same title will fail with the 'AccountDeleted' error. This API must be enabled for use as an option in the game manager website. It is disabled by default.

## Syntax

```cpp theme={null}
typedef struct PFAccountManagementDeletePlayerRequest {  
    const char* playFabId;  
} PFAccountManagementDeletePlayerRequest;  
```

### Members

**`playFabId`**   const char\*<br />*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](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementServerDeletePlayerAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverdeleteplayerasync.md)
- [Services C API overview - PFAccountManagementTypes.h](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementReportPlayerClientRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementreportplayerclientrequest.md)
- [PFAccountManagementGetPlayerProfileRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayerprofilerequest.md)
- [PFAccountManagementGetPlayerCombinedInfoRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayercombinedinforequest.md)
