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

# PFGroupsUpdateGroupAsync

> Updates non-membership data about a group.

Updates non-membership data about a group.

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFGroupsUpdateGroupRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsupdategrouprequest.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 all platforms. Updates data about a group, such as the name or default member role. Returns information about whether the update was successful. Only title claimants may modify the administration role for a group. See also GroupCreateGroupAsync, GroupDeleteGroupAsync, GroupGetGroupAsync. When the asynchronous task is complete, call [PFGroupsUpdateGroupGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfgroups/functions/pfgroupsupdategroupgetresultsize.md) and [PFGroupsUpdateGroupGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfgroups/functions/pfgroupsupdategroupgetresult.md) to get the result.

## Requirements

**Header:** PFGroups.h

## See also

[PFGroups members](https://docs.xbox.com/services/playfab/api-references/c/pfgroups/pfgroups_members.md)


## Related topics

- [PFGroupsUpdateGroupGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfgroups/functions/pfgroupsupdategroupgetresult.md)
- [Services C API overview - PFGroups.h](https://docs.xbox.com/services/playfab/api-references/c/pfgroups/pfgroups_members.md)
- [Update Group](https://docs.xbox.com/api-reference/groups/update-group.md)
- [PFGroupsGetGroupAsync](https://docs.xbox.com/services/playfab/api-references/c/pfgroups/functions/pfgroupsgetgroupasync.md)
- [PFGroupsUpdateRoleAsync](https://docs.xbox.com/services/playfab/api-references/c/pfgroups/functions/pfgroupsupdateroleasync.md)
