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

# PFTitleDataManagementServerSetTitleInternalDataAsync

> Server API to update the key-value store of internal, server-only title settings hidden from clients, for confidential PlayFab configuration used by game logic.

Updates the key-value store of custom title settings

## Syntax

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

### Parameters

**`titleEntityHandle`**   PFEntityHandle

PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync.

**`request`**   [PFTitleDataManagementSetTitleDataRequest\*](/services/playfab/api-references/c/pftitledatamanagementtypes/structs/pftitledatamanagementsettitledatarequest)

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 Win32, Linux, and macOS. This API is designed to store title specific values which are accessible only to the server. This can be used to tweak settings on game servers and Cloud Scripts without needed to update and re-deploy them. This operation is additive. If a Key does not exist in the current dataset, it will be added with the specified Value. If it already exists, the Value for that key will be overwritten with the new Value. See also ServerGetTitleInternalDataAsync. Call XAsyncGetStatus to get the status of the operation. If the service call is unsuccessful, the async result will be E\_PF\_DATA\_LENGTH\_EXCEEDED, E\_PF\_TOO\_MANY\_KEYS or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

## Requirements

**Header:** PFTitleDataManagement.h

## See also

[PFTitleDataManagement members](/services/playfab/api-references/c/pftitledatamanagement/pftitledatamanagement_members)
