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

# PFLeaderboardsUpdateLeaderboardDefinitionRequest

> Reference for the PFLeaderboardsUpdateLeaderboardDefinitionRequest struct in the PlayFab Services C API, with members to modify an existing leaderboard.

PFLeaderboardsUpdateLeaderboardDefinitionRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFLeaderboardsUpdateLeaderboardDefinitionRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFLeaderboardsLeaderboardEventEmissionConfig const* eventEmissionConfig;  
    const char* name;  
    int32_t const* sizeLimit;  
    PFVersionConfiguration const* versionConfiguration;  
} PFLeaderboardsUpdateLeaderboardDefinitionRequest;  
```

### Members

**`customTags`**   [PFStringDictionaryEntry](https://docs.xbox.com/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry.md) const\*\
*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

**`eventEmissionConfig`**   [PFLeaderboardsLeaderboardEventEmissionConfig](https://docs.xbox.com/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsleaderboardeventemissionconfig.md) const\*\
*may be nullptr*

(Optional) \[In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted.

**`name`**   const char\*\
*is null-terminated*

The name of the leaderboard to update the definition for.

**`sizeLimit`**   int32\_t const\*\
*may be nullptr*

(Optional) Maximum number of entries on this leaderboard.

**`versionConfiguration`**   PFVersionConfiguration const\*\
*may be nullptr*

(Optional) The version reset configuration for the leaderboard definition.

## Requirements

**Header:** PFLeaderboardsTypes.h

## See also

[PFLeaderboardsTypes members](https://docs.xbox.com/services/playfab/api-references/c/pfleaderboardstypes/pfleaderboardstypes_members.md)


## Related topics

- [PFLeaderboardsUpdateLeaderboardDefinitionAsync](https://docs.xbox.com/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsupdateleaderboarddefinitionasync.md)
- [Services C API overview - PFLeaderboardsTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pfleaderboardstypes/pfleaderboardstypes_members.md)
- [Update Leaderboard Definition](https://docs.xbox.com/api-reference/leaderboards/update-leaderboard-definition.md)
- [PFLeaderboardsDeleteLeaderboardDefinitionRequest](https://docs.xbox.com/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsdeleteleaderboarddefinitionrequest.md)
- [PFLeaderboardsGetLeaderboardDefinitionRequest](https://docs.xbox.com/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsgetleaderboarddefinitionrequest.md)
