Group Update

Group Update

This event has been available since 1.38.0

This event is generated when a group is updated. The JSON includes the Group that was updated.

Event type
group.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.

Prior to version 1.37.0 this was a tenant scoped event. This event will be sent to all tenants that are listening, but will contain a tenantId to allow for filtering.

In version 1.37.0 and later this is also 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.createInstantLong

The instant that the event was generated.

event.groupObject

The group that has been updated. See the Groups API for property definitions and example JSON.

event.idUUID

The unique Id of the event.

event.info.dataObject

An object that can hold any information about the event that should be persisted.

event.info.deviceDescriptionString

The description of the device associated with the event.

event.info.deviceNameString

The device name associated with the event.

event.info.deviceTypeString

The type of device associated with the event.

event.info.ipAddressString

The source IP address of the event.

event.info.location.cityString

The city where the event originated.

Note: An Enterprise plan is required to utilize event location data.

event.info.location.countryString

The country where the event originated.

Note: An Enterprise plan is required to utilize event location data.

event.info.location.latitudeDouble

The latitude where the event originated.

Note: An Enterprise plan is required to utilize event location data.

event.info.location.longitudeDouble

The longitude where the event originated.

Note: An Enterprise plan is required to utilize event location data.

event.info.location.regionString

The geographic location where the event originated.

Note: An Enterprise plan is required to utilize event location data.

event.info.location.zipcodeString

The zip code where the event originated.

Note: An Enterprise plan is required to utilize event location data.

event.info.osString

The operating system associated with the event.

event.info.userAgentString

The user agent associated with the event.

event.originalObject

The original group, before update. See the Groups API for property definitions and example JSON.

event.tenantIdUUID

The unique tenant identifier. This value may not be returned if not applicable.

event.typeString

The event type, this value will always be group.update.

Example Event JSON

{
  "event": {
    "createInstant": 1660777395126,
    "group": {
      "data": {},
      "id": "89450cd0-24a9-401d-a6ad-4116de45b8e2",
      "insertInstant": 1660777395126,
      "lastUpdateInstant": 1660777396676,
      "name": "Pied Piper 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)"
    },
    "original": {
      "data": {},
      "id": "89450cd0-24a9-401d-a6ad-4116de45b8e2",
      "insertInstant": 1660777395126,
      "lastUpdateInstant": 1660777395156,
      "name": "Employees",
      "roles": {},
      "tenantId": "f84cfebc-d68f-4b8c-9014-f9afa6ccc3e1"
    },
    "tenantId": "f84cfebc-d68f-4b8c-9014-f9afa6ccc3e1",
    "type": "group.update"
  }
}