Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

API contract to implement

Download OpenAPI (YAML)Version v1.0.0

Base URL: <BASE_URL>

The API contract for Webhook Events (version v1.0.0).

Download the OpenAPI definition (YAML)

Other​

Event Subscription / Unsubscription Verification​

GET /

Before delivering events, the WSO2 Identity Platform verifies your endpoint for each subscribed event type by sending an HTTP GET request, following the WebSub specification. Your endpoint must respond with a 2xx status code and return the exact hub.challenge value in the response body.

Parameters

NameInTypeRequiredDescription
hub.modequerystringYes

Indicates whether the Identity Platform is verifying a subscription or an unsubscription. Possible values; subscribe, unsubscribe, denied

hub.topicquerystringYes

The topic being subscribed to or unsubscribed from, in the format {root-organization-domain}.{root-or-sub-organization-id}.schema.{event-profile-name}.{event-profile-version}.event.{event-type-name}.

hub.challengequerystring

A unique, random string generated by the Identity Platform. Your endpoint must return this exact value in the response body.

hub.lease_secondsqueryinteger

How long the subscription remains active, in seconds.

hub.reasonquerystring

The reason for which the subscription has been denied. The hub may include this when a subscription is denied.

Responses

CodeDescriptionSchema
200

Verification acknowledged. The response body must contain the exact hub.challenge value.

string

Receive an identity webhook event​

POST /

Request body (required): application/json

Schema: WebhookEvent

5 properties
NameTypeRequiredDescription
issstringYes

Identifies the WSO2 Identity Platform instance that issued the event.

jtistringYes

A unique identifier for the event.

iatintegerYes

Timestamp showing when WSO2 Identity Platform issues the event. Epoch milliseconds.

rcistringYes

A unique identifier that correlates the event with the original request that triggered it.

eventsone of: EventData_LoginSuccess, EventData_LoginFailed, EventData_RegistrationSuccess, EventData_RegistrationFailed, EventData_AccessTokenIssued, EventData_AccessTokenRevoked, EventData_SessionEstablished, EventData_SessionPresented, EventData_SessionRevoked, EventData_CredentialUpdated, EventData_UserCreated, EventData_UserProfileUpdated, EventData_UserDisabled, EventData_UserEnabled, EventData_UserAccountLocked, EventData_UserAccountUnlocked, EventData_UserDeleted, EventData_ConsentAdded, EventData_ConsentRevoked, EventData_PurposeVersionAdded, EventData_RoleCreated, EventData_RoleMetaUpdated, EventData_RoleDeleted, EventData_RoleUsersUpdated, EventData_RoleGroupsUpdated, EventData_RoleIdpGroupsUpdated, EventData_RolePermissionsUpdated, EventData_OrganizationCreated, EventData_OrganizationUpdated, EventData_OrganizationEnabled, EventData_OrganizationDisabled, EventData_OrganizationDeletedYes

This object holds the actual event data. Its internal structure changes depending on the specific event types you've subscribed to.

Responses

CodeDescriptionSchema
200

Event acknowledged by the consumer.

Schemas​

WebhookEvent​

Type: object

5 properties
NameTypeRequiredDescription
issstringYes

Identifies the WSO2 Identity Platform instance that issued the event.

jtistringYes

A unique identifier for the event.

iatintegerYes

Timestamp showing when WSO2 Identity Platform issues the event. Epoch milliseconds.

rcistringYes

A unique identifier that correlates the event with the original request that triggered it.

eventsone of: EventData_LoginSuccess, EventData_LoginFailed, EventData_RegistrationSuccess, EventData_RegistrationFailed, EventData_AccessTokenIssued, EventData_AccessTokenRevoked, EventData_SessionEstablished, EventData_SessionPresented, EventData_SessionRevoked, EventData_CredentialUpdated, EventData_UserCreated, EventData_UserProfileUpdated, EventData_UserDisabled, EventData_UserEnabled, EventData_UserAccountLocked, EventData_UserAccountUnlocked, EventData_UserDeleted, EventData_ConsentAdded, EventData_ConsentRevoked, EventData_PurposeVersionAdded, EventData_RoleCreated, EventData_RoleMetaUpdated, EventData_RoleDeleted, EventData_RoleUsersUpdated, EventData_RoleGroupsUpdated, EventData_RoleIdpGroupsUpdated, EventData_RolePermissionsUpdated, EventData_OrganizationCreated, EventData_OrganizationUpdated, EventData_OrganizationEnabled, EventData_OrganizationDisabled, EventData_OrganizationDeletedYes

This object holds the actual event data. Its internal structure changes depending on the specific event types you've subscribed to.

InitiatorType​

Type: string

Indicates the persona who initiates the identity flow.

Action​

Type: string

Indicates the related identity flow.

InitiatorIpAddress​

Type: string

Indicates the IP address of the initiator that triggered the event.

Claim​

Type: object

2 properties
NameTypeRequiredDescription
uristringYes

Local claim uri name. E.g., http://wso2.org/claims/username

valueone of: string, array of stringYes

Claim value. Either a single value or an array of values for multi-valued claims.

User​

Type: object

Information of the user interacting in the related event.

8 properties
NameTypeRequiredDescription
idstring

Unique identifier of the user.

claimsarray of Claim

Claim values of the user.

organizationOrganization

The organization the user belongs to (the user's resident organization).

organization.idstring

Unique identifier of the organization.

organization.namestring

Name of the organization.

organization.orgHandlestring

Unique, human-readable handle of the organization.

organization.depthinteger

The depth of the organization in the hierarchy.

refstring

SCIM 2.0 resource URL for the user.

ProfileUpdatedUser​

Type: object

Contains information about the user whose profile updated.

10 properties
NameTypeRequiredDescription
idstring

Unique identifier of the user.

organizationOrganization

The organization the user belongs to (the user's resident organization).

organization.idstring

Unique identifier of the organization.

organization.namestring

Name of the organization.

organization.orgHandlestring

Unique, human-readable handle of the organization.

organization.depthinteger

The depth of the organization in the hierarchy.

addedClaimsarray of Claim

Claims added to the user's profile during the update.

updatedClaimsarray of Claim

Claims whose values changed during the update.

removedClaimsarray of object

Claims removed from the user's profile during the update.

refstring

SCIM 2.0 resource URL for the user.

Tenant​

Type: object

Root organization (tenant).

2 properties
NameTypeRequiredDescription
idstring

The unique numeric identifier of the tenant.

namestring

The domain name of the tenant.

Organization​

Type: object

The organization under which the event is processed.

4 properties
NameTypeRequiredDescription
idstring

Unique identifier of the organization.

namestring

Name of the organization.

orgHandlestring

Unique, human-readable handle of the organization.

depthinteger

The depth of the organization in the hierarchy.

UserStore​

Type: object

User store managing the user's data.

2 properties
NameTypeRequiredDescription
idstring

The unique identifier for the user store.

namestring

User store name used to identify the user store in configuration settings, user interfaces, and administrative tasks.

Application​

Type: object

Information about an application.

2 properties
NameTypeRequiredDescription
idstring

Unique identifier of the application.

namestring

Name of the application.

Session​

Type: object

Information about the session.

3 properties
NameTypeRequiredDescription
idstring

Unique identifier for the session

loginTimeinteger

Timestamp when the session originally started.

applicationsarray of Application

Array of applications associated with this session.

AccessToken​

Type: object

Details about the issued token.

3 properties
NameTypeRequiredDescription
tokenTypestring

e.g. Opaque or jwt.

iatstring

Token issued at timestamp.

grantTypestring

OAuth2 grant type used for token issuance (e.g., authorization_code)

Reason​

Type: object

Context information for the failure.

3 properties
NameTypeRequiredDescription
descriptionstring

Human-readable explanation of the failure.

contextobject

Details about the failure point in the related identity flow.

context.failedStepobject

Details about the failure step in the authentication flow.

Type: object

Contains details about the consent.

9 properties
NameTypeRequiredDescription
idstring

Unique identifier for the consent record.

subjectIdstring

Username of the user to whom the consent applies.

statestring

Current state of the consent.

serviceIdstring

The service or application for which the consent is granted.

purposeobject

Details of the consent purpose.

purpose.idstring

Unique identifier of the consent purpose.

purpose.namestring

Human-readable name of the consent purpose.

purpose.versionstring

The UUID of the specific purpose version the user consented to.

purpose.elementsarray of object

Array of PII categories covered by the consent, each with a name.

PurposeVersion​

Type: object

Contains details about the updated consent purpose.

6 properties
NameTypeRequiredDescription
idstring

Unique identifier for the consent purpose.

namestring

Human-readable name of the consent purpose.

versionobject

Details of the newly added version.

version.versionstring

The version number of the new version.

version.setAsLatestboolean

Whether this version becomes the active version for new consents.

version.elementsarray of object

Array of attributes (elements) included in this version, each with a name and mandatory flag.

EventData_LoginSuccess​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/login/event-type/loginSuccessLoginSuccessPayloadYes

EventData_LoginFailed​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/login/event-type/loginFailedLoginFailedPayloadYes

EventData_RegistrationSuccess​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/registration/event-type/registrationSuccessRegistrationSuccessPayloadYes

EventData_RegistrationFailed​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/registration/event-type/registrationFailedRegistrationFailedPayloadYes

EventData_AccessTokenIssued​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/token/event-type/accessTokenIssuedAccessTokenIssuedPayloadYes

EventData_AccessTokenRevoked​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/token/event-type/accessTokenRevokedAccessTokenRevokedPayloadYes

EventData_SessionEstablished​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/session/event-type/sessionEstablishedSessionEstablishedPayloadYes

EventData_SessionPresented​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/session/event-type/sessionPresentedSessionPresentedPayloadYes

EventData_SessionRevoked​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/session/event-type/sessionRevokedSessionRevokedPayloadYes

EventData_CredentialUpdated​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/credential/event-type/credentialUpdatedCredentialUpdatedPayloadYes

EventData_UserCreated​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/user/event-type/userCreatedUserCreatedPayloadYes

EventData_UserProfileUpdated​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/user/event-type/userProfileUpdatedUserProfileUpdatedPayloadYes

EventData_UserDisabled​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/user/event-type/userDisabledUserDisabledPayloadYes

EventData_UserEnabled​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/user/event-type/userEnabledUserEnabledPayloadYes

EventData_UserAccountLocked​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/user/event-type/userAccountLockedUserAccountLockedPayloadYes

EventData_UserAccountUnlocked​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/user/event-type/userAccountUnlockedUserAccountUnlockedPayloadYes

EventData_UserDeleted​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/user/event-type/userDeletedUserDeletedPayloadYes

EventData_ConsentAdded​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/consent/event-type/consentAddedConsentAddedPayloadYes

EventData_ConsentRevoked​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/consent/event-type/consentRevokedConsentRevokedPayloadYes

EventData_PurposeVersionAdded​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/consent-purpose/event-type/purposeVersionAddedPurposeVersionAddedPayloadYes

RoleAudience​

Type: object

The audience the role is scoped to.

3 properties
NameTypeRequiredDescription
typestring

The audience type. Either organization or application.

valuestring

Identifier of the audience. The organization id for an organization-scoped role, or the application id for an application-scoped role.

displaystring

Display name of the audience. The organization name for an organization-scoped role, or the application name for an application-scoped role.

RoleUser​

Type: object

A user assigned to or unassigned from the role.

3 properties
NameTypeRequiredDescription
idstring

Unique identifier of the user.

userStoreDomainstring

The user store domain the user belongs to.

claimsarray of Claim

Claim values of the user.

RoleGroup​

Type: object

A local group assigned to or unassigned from the role.

3 properties
NameTypeRequiredDescription
idstring

Unique identifier of the group.

groupNamestring

Name of the group.

userStoreDomainstring

The user store domain the group belongs to.

RoleIdpGroup​

Type: object

A federated identity provider (IdP) group assigned to or unassigned from the role.

4 properties
NameTypeRequiredDescription
groupIdstring

Unique identifier of the IdP group.

groupNamestring

Name of the IdP group.

idpIdstring

Unique identifier of the identity provider.

idpNamestring

Name of the identity provider.

EventData_RoleCreated​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/role/event-type/roleCreatedRoleCreatedPayloadYes

EventData_RoleMetaUpdated​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/role/event-type/roleMetaUpdatedRoleMetaUpdatedPayloadYes

EventData_RoleDeleted​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/role/event-type/roleDeletedRoleDeletedPayloadYes

EventData_RoleUsersUpdated​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/role/event-type/roleUsersUpdatedRoleUsersUpdatedPayloadYes

EventData_RoleGroupsUpdated​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/role/event-type/roleGroupsUpdatedRoleGroupsUpdatedPayloadYes

EventData_RoleIdpGroupsUpdated​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/role/event-type/roleIdpGroupsUpdatedRoleIdpGroupsUpdatedPayloadYes

EventData_RolePermissionsUpdated​

Type: object

1 property
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/role/event-type/rolePermissionsUpdatedRolePermissionsUpdatedPayloadYes

LoginSuccessPayload​

Type: object

11 properties
NameTypeRequiredDescription
initiatorTypestring

Indicates the persona who initiates the identity flow. E.g., USER

actionstring

Indicates the related identity flow. E.g., LOGIN

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

applicationApplication

Information about the application that initiated the login.

application.idstring

Unique identifier of the application.

application.namestring

Name of the application.

authenticationMethodsarray of string

An array of authentication methods used for the successful login (for example BasicAuthenticator).

LoginFailedPayload​

Type: object

11 properties
NameTypeRequiredDescription
initiatorTypestring

Indicates the persona who initiates the identity flow. E.g., USER

actionstring

Indicates the related identity flow. E.g., LOGIN

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

applicationApplication

Information about the application that initiated the login.

application.idstring

Unique identifier of the application.

application.namestring

Name of the application.

reasonReason

Context information for the failure.

RegistrationSuccessPayload​

Type: object

7 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

actionAction

Indicates the related identity flow.

RegistrationFailedPayload​

Type: object

7 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

actionAction

Indicates the related identity flow.

reasonReason

Context information for the failure.

AccessTokenIssuedPayload​

Type: object

11 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

actionAction

Indicates the related identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

applicationobject

Information about the application that requested the token.

application.namestring

Name of the application.

application.consumerKeystring

Consumer key of the application.

accessTokenAccessToken

Details about the issued token.

AccessTokenRevokedPayload​

Type: object

8 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

actionAction

Indicates the related identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

applicationsarray of object

Applications associated with the revoked token.

SessionEstablishedPayload​

Type: object

11 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

actionAction

Indicates the related identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

applicationApplication

Information about the application through which the session gets established.

application.idstring

Unique identifier of the application.

application.namestring

Name of the application.

sessionSession

Information about the session.

SessionPresentedPayload​

Type: object

11 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

actionAction

Indicates the related identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

applicationApplication

Information about the application that requested the session presentation.

application.idstring

Unique identifier of the application.

application.namestring

Name of the application.

sessionSession

Information about the session.

SessionRevokedPayload​

Type: object

8 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

actionAction

Indicates the related identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

sessionsarray of Session

Array of revoked sessions.

CredentialUpdatedPayload​

Type: object

8 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

credentialTypestring

Indicates which credential the user updates (e.g., PASSWORD).

actionAction

Indicates the related identity flow.

UserCreatedPayload​

Type: object

7 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

actionAction

Indicates the related identity flow.

UserProfileUpdatedPayload​

Type: object

7 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userProfileUpdatedUser

Contains information about the user whose profile updated.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

actionAction

Indicates the related identity flow.

UserDisabledPayload​

Type: object

7 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

actionAction

Indicates the related identity flow.

UserEnabledPayload​

Type: object

7 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

actionAction

Indicates the related identity flow.

UserAccountLockedPayload​

Type: object

7 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

actionAction

Indicates the related identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

UserAccountUnlockedPayload​

Type: object

7 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

actionAction

Indicates the related identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

UserDeletedPayload​

Type: object

7 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

actionAction

Indicates the related identity flow.

ConsentAddedPayload​

Type: object

8 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

actionAction

Indicates the related identity flow.

consentConsent

Contains details about the consent.

ConsentRevokedPayload​

Type: object

8 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

userUser

Information of the user interacting in the related event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

userStoreUserStore

User store managing the user's data.

actionAction

Indicates the related identity flow.

consentConsent

Contains details about the consent.

PurposeVersionAddedPayload​

Type: object

6 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

actionAction

Indicates the related identity flow.

purposePurposeVersion

Contains details about the updated consent purpose.

RoleCreatedPayload​

Type: object

13 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

actionAction

Indicates the related identity flow.

roleobject

Contains details about the created role.

role.idstring

Unique identifier of the role.

role.namestring

Display name of the role.

role.audienceRoleAudience

The audience the role is scoped to.

role.refstring

SCIM v2 reference URL for the role.

role.usersarray of RoleUser

Users assigned to the role at creation. Present only when the role is created with users.

role.groupsarray of RoleGroup

Local groups assigned to the role at creation. Present only when the role is created with groups.

role.permissionsarray of string

Permission names granted to the role at creation. Present only when the role is created with permissions.

RoleMetaUpdatedPayload​

Type: object

10 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

actionAction

Indicates the related identity flow.

roleobject

Contains details about the updated role.

role.idstring

Unique identifier of the role.

role.namestring

Display name of the role.

role.audienceRoleAudience

The audience the role is scoped to.

role.refstring

SCIM v2 reference URL for the role.

RoleDeletedPayload​

Type: object

9 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

actionAction

Indicates the related identity flow.

roleobject

Contains details about the deleted role.

role.idstring

Unique identifier of the role.

role.namestring

Display name of the role.

role.audienceRoleAudience

The audience the role is scoped to.

RoleUsersUpdatedPayload​

Type: object

12 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

actionAction

Indicates the related identity flow.

roleobject

Contains details about the role whose user assignments got updated.

role.idstring

Unique identifier of the role.

role.namestring

Display name of the role.

role.audienceRoleAudience

The audience the role is scoped to.

role.refstring

SCIM v2 reference URL for the role.

role.addedUsersarray of RoleUser

Users assigned to the role in this update.

role.removedUsersarray of RoleUser

Users unassigned from the role in this update.

RoleGroupsUpdatedPayload​

Type: object

12 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

actionAction

Indicates the related identity flow.

roleobject

Contains details about the role whose group assignments got updated.

role.idstring

Unique identifier of the role.

role.namestring

Display name of the role.

role.audienceRoleAudience

The audience the role is scoped to.

role.refstring

SCIM v2 reference URL for the role.

role.addedGroupsarray of RoleGroup

Local groups assigned to the role in this update.

role.removedGroupsarray of RoleGroup

Local groups unassigned from the role in this update.

RoleIdpGroupsUpdatedPayload​

Type: object

12 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

actionAction

Indicates the related identity flow.

roleobject

Contains details about the role whose IdP group assignments got updated.

role.idstring

Unique identifier of the role.

role.namestring

Display name of the role.

role.audienceRoleAudience

The audience the role is scoped to.

role.refstring

SCIM v2 reference URL for the role.

role.addedIdpGroupsarray of RoleIdpGroup

Federated IdP groups assigned to the role in this update.

role.removedIdpGroupsarray of RoleIdpGroup

Federated IdP groups unassigned from the role in this update.

RolePermissionsUpdatedPayload​

Type: object

12 properties
NameTypeRequiredDescription
initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

tenantTenant

Root organization (tenant).

organizationOrganization

The organization under which the event is processed.

actionAction

Indicates the related identity flow.

roleobject

Contains details about the role whose permissions got updated.

role.idstring

Unique identifier of the role.

role.namestring

Display name of the role.

role.audienceRoleAudience

The audience the role is scoped to.

role.refstring

SCIM v2 reference URL for the role.

role.addedPermissionsarray of string

Permission names granted to the role in this update.

role.removedPermissionsarray of string

Permission names revoked from the role in this update.

OrganizationAttribute​

Type: object

An attribute of the organization.

2 properties
NameTypeRequiredDescription
namestring

Name of the attribute.

valuestring

Value of the attribute.

OrganizationAttributeChanges​

Type: object

Attribute changes of the organization, grouped by the change applied.

3 properties
NameTypeRequiredDescription
addedarray of OrganizationAttribute

Attributes added to the organization.

removedarray of object

Attributes removed from the organization. Each entry contains the attribute name only.

updatedarray of OrganizationAttribute

Attributes whose value changed. Each entry contains the attribute name and the new value.

OrganizationUpdatedValues​

Type: object

The values the update changed. Each property is present only when the update changed it. A value the update cleared is reported as an empty string.

4 properties
NameTypeRequiredDescription
namestring

New display name of the organization.

descriptionstring

New description of the organization.

versionstring

New version of the organization.

attributesOrganizationAttributeChanges

Attribute changes of the organization, grouped by the change applied.

EventData_OrganizationCreated​

Type: object

7 properties
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/organization/event-type/organizationCreatedobjectYes
https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.tenantTenantYes

Root organization (tenant).

https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.organizationOrganizationYes

The organization under which the event is processed.

https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.actionAction

Indicates the related identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.targetOrganizationobjectYes

Contains details about the created organization.

EventData_OrganizationUpdated​

Type: object

7 properties
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdatedobjectYes
https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.tenantTenantYes

Root organization (tenant).

https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.organizationOrganizationYes

The organization under which the event is processed.

https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.actionAction

Indicates the related identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.targetOrganizationobjectYes

Contains details about the updated organization.

EventData_OrganizationEnabled​

Type: object

7 properties
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabledobjectYes
https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.tenantTenantYes

Root organization (tenant).

https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.organizationOrganizationYes

The organization under which the event is processed.

https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.actionAction

Indicates the related identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.targetOrganizationobjectYes

Contains details about the enabled organization.

EventData_OrganizationDisabled​

Type: object

7 properties
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabledobjectYes
https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.tenantTenantYes

Root organization (tenant).

https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.organizationOrganizationYes

The organization under which the event is processed.

https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.actionAction

Indicates the related identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.targetOrganizationobjectYes

Contains details about the disabled organization.

EventData_OrganizationDeleted​

Type: object

7 properties
NameTypeRequiredDescription
https://schemas.identity.wso2.org/events/organization/event-type/organizationDeletedobjectYes
https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.initiatorTypeInitiatorType

Indicates the persona who initiates the identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.initiatorIpAddressInitiatorIpAddress

Indicates the IP address of the initiator that triggered the event.

https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.tenantTenantYes

Root organization (tenant).

https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.organizationOrganizationYes

The organization under which the event is processed.

https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.actionAction

Indicates the related identity flow.

https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.targetOrganizationobjectYes

Contains details about the deleted organization. The organization management API reference URL is not included, since the organization is no longer retrievable.

Was this page helpful?