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

# PFLeaderboardsDeleteLeaderboardEntriesAsync

> Reference for PFLeaderboardsDeleteLeaderboardEntriesAsync, a PlayFab Services C API function that deletes specified entries from a leaderboard.

Deletes the specified entries from the given leaderboard.

## Syntax

```cpp theme={null}
HRESULT PFLeaderboardsDeleteLeaderboardEntriesAsync(  
    PFEntityHandle entityHandle,  
    const PFLeaderboardsDeleteLeaderboardEntriesRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFLeaderboardsDeleteLeaderboardEntriesRequest\*](/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsdeleteleaderboardentriesrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on Windows, Linux, and macOS. See also LeaderboardUpdateLeaderboardEntriesAsync. Call XAsyncGetStatus to get the status of the operation. If the service call is unsuccessful, the async result will be E\_PF\_API\_NOT\_ENABLED\_FOR\_TITLE, E\_PF\_LEADERBOARD\_NOT\_FOUND, E\_PF\_LEADERBOARD\_UPDATE\_NOT\_ALLOWED\_WHILE\_LINKED or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

## Requirements

**Header:** PFLeaderboards.h

## See also

[PFLeaderboards members](/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members)


## Related topics

- [Services C API overview - PFLeaderboards.h](/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members.md)
- [PFLeaderboardsUpdateLeaderboardEntriesAsync](/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsupdateleaderboardentriesasync.md)
- [PFLeaderboardsDeleteLeaderboardEntriesRequest](/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsdeleteleaderboardentriesrequest.md)
- [PFLeaderboardsDeleteLeaderboardDefinitionAsync](/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsdeleteleaderboarddefinitionasync.md)
- [Leaderboards](/build/steam-porting-guide/features/steam-leaderboards.md)
