younifyd
Menu

Update Events Config

Update events config

PUT/admin/realms/{realm}/events/config

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the Update Events Config action (under Realms Admin).
  3. Fill in the fields below, then reference the result from later steps as {{updateEventsConfig.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

Request body

Enter the body as JSON in the step's Body field.

eventsEnabledboolean
eventsExpirationinteger (int64)
eventsListenersarray<string>
enabledEventTypesarray<string>
adminEventsEnabledboolean
adminEventsDetailsEnabledboolean
json
{
  "eventsEnabled": false,
  "eventsExpiration": 0,
  "eventsListeners": [
    "string"
  ],
  "enabledEventTypes": [
    "string"
  ],
  "adminEventsEnabled": false,
  "adminEventsDetailsEnabled": false
}

Response

Returns 204 with a any. Read it in later steps with {{updateEventsConfig.response.data.<field>}}.

Need more? See the Keycloak guide for connection setup and behaviour shared by every action.

Update Events Config — Keycloak — Documentation