Group Member Update
Group Member Update
This event has been available since 1.38.0.
This event is generated when updating members in group. The JSON includes the Group and an array of current members.
This event is also generated when all users are removed from a group.
group.member.update
Event Scope
This is a tenant scoped event. It can be sent to all tenants or to one or more specified tenants. However, those tenants will not be sent events for other tenants, but only events related to themselves.
Transaction Compatibility
This event is transactional. The final state of the operation which caused the webhook is not persisted to FusionAuth until after the webhook finishes; learn more.
Event Body
- event.createInstant [Long]
-
The instant that the event was generated.
- event.group [Object]
-
The group that has been created. See the Groups API for property definitions and example JSON.
- event.id [UUID]
-
The unique Id of the event.
- event.info.data [Object]
-
An object that can hold any information about the event that should be persisted.
- event.info.deviceDescription [String]
-
The description of the device associated with the event.
- event.info.deviceName [String]
-
The device name associated with the event.
- event.info.deviceType [String]
-
The type of device associated with the event.
- event.info.ipAddress [String]
-
The source IP address of the event.
- event.info.location.city [String]
-
The city where the event originated.
Note: A paid plan is required to utilize event info location.
- event.info.location.country [String]
-
The country where the event originated.
Note: A paid plan is required to utilize event info location.
- event.info.location.latitude [Double]
-
The latitude where the event originated.
Note: A paid plan is required to utilize event info location.
- event.info.location.longitude [Double]
-
The longitude where the event originated.
Note: A paid plan is required to utilize event info location.
- event.info.location.region [String]
-
The geographic location where the event originated.
Note: A paid plan is required to utilize event info location.
- event.info.location.zipcode [String]
-
The zip code where the event originated.
Note: A paid plan is required to utilize event info location.
- event.info.os [String]
-
The operating system associated with the event.
- event.info.userAgent [String]
-
The user agent associated with the event.
- event.members [Array]
-
An array of updated group members.
- event.members[
x
].data [Object] -
An object that can hold any information about the group member.
- event.members[
x
].id [UUID] -
The unique Id of this group member. This is not the user Id.
- event.members[
x
].insertInstant [Long] -
The instant that this membership was created.
- event.members[
x
].userId [UUID] -
The user Id of the member.
- event.tenantId [UUID]
-
The unique tenant identifier. This value may not be returned if not applicable.
- event.type [String]
-
The event type, this value will always be
group.member.update
.
{
"event": {
"createInstant": 1660777395126,
"group": {
"data": {},
"id": "89450cd0-24a9-401d-a6ad-4116de45b8e2",
"insertInstant": 1660777395126,
"lastUpdateInstant": 1660777395156,
"name": "Employees",
"roles": {},
"tenantId": "f84cfebc-d68f-4b8c-9014-f9afa6ccc3e1"
},
"id": "2ed2a35c-eff5-41b4-822d-ba1b85d814c4",
"info": {
"ipAddress": "127.0.0.1",
"userAgent": "Restify (https://github.com/inversoft/restify)"
},
"members": [
{
"data": {
"foo": "bar"
},
"id": "dd31009e-cf02-44d7-b025-1ca90bc14fdf",
"insertInstant": 1660777395226,
"userId": "8696203c-4bae-42f2-ab1d-0eabbd5fb2d6"
}
],
"tenantId": "f84cfebc-d68f-4b8c-9014-f9afa6ccc3e1",
"type": "group.member.update"
}
}
Feedback
How helpful was this page?
See a problem?
File an issue in our docs repo
Have a question or comment to share?
Visit the FusionAuth community forum.