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

# PFCatalogSetItemModerationStateAsync

> Sets the moderation state for an item, including the concern category and string reason. More information about moderation states can be found here: https://learn.microsoft.com/gaming/playfab/features/economy-v2/ugc/moderation

Sets the moderation state for an item, including the concern category and string reason. More information about moderation states can be found here: [https://learn.microsoft.com/gaming/playfab/features/economy-v2/ugc/moderation](https://learn.microsoft.com/gaming/playfab/features/economy-v2/ugc/moderation)

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFCatalogSetItemModerationStateRequest\*](/services/playfab/api-references/c/pfcatalogtypes/structs/pfcatalogsetitemmoderationstaterequest)

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. Call XAsyncGetStatus to get the status of the operation. If the service call is unsuccessful, the async result will be E\_PF\_DATABASE\_THROUGHPUT\_EXCEEDED, E\_PF\_ITEM\_NOT\_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

## Requirements

**Header:** PFCatalog.h

## See also

[PFCatalog members](/services/playfab/api-references/c/pfcatalog/pfcatalog_members)
