# JWT Public Key Update Event

Learn about the JWT Public Key Update event.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

## JWT Public Key Update

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

Event type

jwt.public-key.update

### Event Scope

Prior to version `1.37.0` this was a tenant- or application-scoped event. It can be sent to all applications or to one or more specified applications.

The ability to limit the generation of an event for only certain applications is legacy functionality and is removed as of version `1.37.0`. In earlier versions, you almost certainly want to enable this event at the tenant level and optionally filter on the **tenantId** when consuming the event.

In version `1.37.0` and later this is a tenant-scoped event. It can be sent to all tenants or to one or more specified tenants. Those tenants will only be sent events related to their tenant. You can optionally also filter on the **applicationId** when consuming the event.

### 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](https://fusionauth.io/docs/events/webhooks/writing-a-webhook.md#calling-fusionauth-apis-in-webhooks)

### Event Body

`event.applicationIds`

*   Type: `Array<UUID>`

A list of Application Ids that may have been affected by a configuration change in which affect the public key used to sign JWTs.

`event.createInstant`

*   Type: `Long`

The [instant](https://fusionauth.io/docs/apis/data-types.md#instants) that the event was generated.

`event.id`

*   Type: `UUID`

The unique Id of the event. You may receive an event more than once based upon your transaction settings. This Id may be used to identify a duplicate event.

`event.info.data`

*   Type: `Object`
*   Available since `1.30.0`

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

`event.info.deviceDescription`

*   Type: `String`
*   Available since `1.30.0`

The description of the device associated with the event.

`event.info.deviceName`

*   Type: `String`
*   Available since `1.30.0`

The device name associated with the event.

`event.info.deviceType`

*   Type: `String`
*   Available since `1.30.0`

The type of device associated with the event.

`event.info.ipAddress`

*   Type: `String`
*   Available since `1.27.0`

The source IP address of the event.

`event.info.location.city`

*   Type: `String`
*   Available since `1.30.0`

The city where the event originated.

**Enterprise plan** To use event location data, you'll need [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

`event.info.location.country`

*   Type: `String`
*   Available since `1.30.0`

The country where the event originated.

**Enterprise plan** To use event location data, you'll need [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

`event.info.location.latitude`

*   Type: `Double`
*   Available since `1.30.0`

The latitude where the event originated.

**Enterprise plan** To use event location data, you'll need [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

`event.info.location.longitude`

*   Type: `Double`
*   Available since `1.30.0`

The longitude where the event originated.

**Enterprise plan** To use event location data, you'll need [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

`event.info.location.region`

*   Type: `String`
*   Available since `1.30.0`

The geographic location where the event originated.

**Enterprise plan** To use event location data, you'll need [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

`event.info.location.zipcode`

*   Type: `String`
*   Available since `1.30.0`

The zip code where the event originated.

**Enterprise plan** To use event location data, you'll need [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

`event.info.os`

*   Type: `String`
*   Available since `1.30.0`

The operating system associated with the event.

`event.info.userAgent`

*   Type: `String`
*   Available since `1.30.0`

The user agent associated with the event.

`event.tenantId`

*   Type: `UUID`
*   Available since `1.8.0`

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

`event.type`

*   Type: `String`

The event type, this value will always be `jwt.public-key.update`.

Example Event JSON

```json
{
  "event": {
    "applicationIds": [
      "ecbe454c-3b52-46c3-87f7-b3e00c5636e6"
    ],
    "createInstant": 1505762615056,
    "id": "e502168a-b469-45d9-a079-fd45f83e0406",
    "tenantId": "e872a880-b14f-6d62-c312-cb40f22af465",
    "type": "jwt.public-key.update"
  }
}
```

Related

[Events JWT Refresh Event Learn about the JWT Refresh event. fusionauth jwtwebhook event](https://fusionauth.io/docs/events/reference/jwt/jwt-refresh.md)

[Events JWT Refresh Token Revoke Event Learn about the JWT Refresh Token Revoke event. fusionauth jwtwebhook event](https://fusionauth.io/docs/events/reference/jwt/jwt-refresh-token-revoke.md)

[Events Audit Log Create Event Learn about the Audit Log Create event. webhook event](https://fusionauth.io/docs/events/reference/audit-log-create.md)

[Events CIMD Registration Failed Event Learn about the CIMD Registration Failed event. webhook event](https://fusionauth.io/docs/events/reference/cimd/cimd-registration-failed.md)
---

## Other pages in Jwt

> For the full index of this section, see [Events](https://fusionauth.io/docs/llms-events.txt).

- [JWT Refresh Token Revoke Event](https://fusionauth.io/docs/events/reference/jwt/jwt-refresh-token-revoke.md): Learn about the JWT Refresh Token Revoke event.
- [JWT Refresh Event](https://fusionauth.io/docs/events/reference/jwt/jwt-refresh.md): Learn about the JWT Refresh event.
