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

# PFPlayerDataManagementServerDeletePlayerCustomPropertiesAsync

> Server API that deletes a player's custom properties using a title entity handle from PFAuthenticationGetEntityWithSecretKeyAsync. Available on Windows.

Deletes title-specific custom properties for a player

## Syntax

```cpp theme={null}
HRESULT PFPlayerDataManagementServerDeletePlayerCustomPropertiesAsync(  
    PFEntityHandle titleEntityHandle,  
    const PFPlayerDataManagementServerDeletePlayerCustomPropertiesRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`titleEntityHandle`**   PFEntityHandle

PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync.

**`request`**   [PFPlayerDataManagementServerDeletePlayerCustomPropertiesRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfplayerdatamanagementtypes/structs/pfplayerdatamanagementserverdeleteplayercustompropertiesrequest.md)

Populated request object.

**`async`**   XAsyncBlock\*\
*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on Windows. Deletes custom properties for the specified player. The list of provided property names must be non-empty. See also ServerGetPlayerCustomPropertyAsync, ServerListPlayerCustomPropertiesAsync, ServerUpdatePlayerCustomPropertiesAsync. When the asynchronous task is complete, call [PFPlayerDataManagementServerDeletePlayerCustomPropertiesGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverdeleteplayercustompropertiesgetresultsize.md) and [PFPlayerDataManagementServerDeletePlayerCustomPropertiesGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverdeleteplayercustompropertiesgetresult.md) to get the result.

## Requirements

**Header:** PFPlayerDataManagement.h

## See also

[PFPlayerDataManagement members](https://docs.xbox.com/services/playfab/api-references/c/pfplayerdatamanagement/pfplayerdatamanagement_members.md)


## Related topics

- [PFPlayerDataManagementServerDeletePlayerCustomPropertiesGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverdeleteplayercustompropertiesgetresult.md)
- [Services C API overview - PFPlayerDataManagement.h](https://docs.xbox.com/services/playfab/api-references/c/pfplayerdatamanagement/pfplayerdatamanagement_members.md)
- [PFPlayerDataManagementServerGetPlayerCustomPropertyAsync](https://docs.xbox.com/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementservergetplayercustompropertyasync.md)
- [PFPlayerDataManagementServerListPlayerCustomPropertiesAsync](https://docs.xbox.com/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverlistplayercustompropertiesasync.md)
- [PFPlayerDataManagementServerUpdatePlayerCustomPropertiesAsync](https://docs.xbox.com/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverupdateplayercustompropertiesasync.md)
