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

# role_updated

> role_updated event.

This event is triggered when a group role is updated.

## Properties

| Name | Type | Description |
| :- | :- | :- |
| Operation | [OperationTypes](https://docs.xbox.com/services/playfab/api-references/events/data-types/operationtypes.md) | The operation that was performed. |
| PreviousRoleName | String | Previous name of the role. |
| RoleId | String | Id of the role to update. |
| RoleName | String | New name of the role. |

## Common Properties

All V2 PlayStream events are formatted as JSON objects and most share the following common properties:

| Name | Type | Description |
| :- | :- | :- |
| SchemaVersion | String | PlayStream event format version, following a semantic versioning scheme. |
| FullName | [Object](https://docs.xbox.com/services/playfab/api-references/events/data-types/fullnameobject.md) | Combination of the event name and event namespace to fully specify the event type. |
| Id | String | PlayFab-assigned unique identifier for this event. |
| Timestamp | DateTime | The time (in UTC) associated with this event. |
| Entity | [Object](https://docs.xbox.com/services/playfab/api-references/events/data-types/entityobject.md) | Details about the entity to which this event applies including Entity Id and Entity type. |
| Originator | [Object](https://docs.xbox.com/services/playfab/api-references/events/data-types/originatorobject.md) | Object describing the source and source type that initiated this event. |
| PayloadContentType | String | Specifies the content of the event payload. Default is "JSON". |
| Origin Info | Object | Optional field containing info about events originating outside of PlayFab. |


## Related topics

- [PlayStream Event Model reference](https://docs.xbox.com/services/xbox-services/player-data/stats-leaderboards/event-based/events/index.md)
- [group_role_updated](https://docs.xbox.com/services/playfab/api-references/events/Groups/group-role-updated.md)
- [members_role_updated](https://docs.xbox.com/services/playfab/api-references/events/Groups/members-role-updated.md)
- [Update Role](https://docs.xbox.com/api-reference/groups/update-role.md)
- [PFGroupsUpdateGroupRoleRequest](https://docs.xbox.com/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsupdategrouprolerequest.md)
