Skip to main content

Users & organizations

User lifecycle, organizations, invitations and membership. Install the pack from Actions & Schemas → Add standard events in the app. Standard events explains the conventions every action here follows.

ActionDescription
user.createdA user account was created.
user.updatedA user's profile changed. fields: comma-separated attribute names.
user.deletedA user account was deleted.
user.suspendedA user account was suspended.
user.reactivatedA suspended user account was reactivated.
organization.createdAn organization was created.
organization.updatedAn organization's settings or profile changed.
organization.deletedAn organization was deleted.
invitation.sentSomeone was invited to join an organization.
invitation.acceptedAn invitation was accepted.
invitation.revokedA pending invitation was revoked.
member.addedA user became a member of an organization.
member.removedA member was removed from an organization.
member.role_changedA member's role changed.

user.created​

A user account was created.

FieldValue
Targetsuser
Required metadataNone
Optional metadatasource, reason, request_id
OCSFUser Management (3007), activity_id 1
{
"event": "user.created",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

user.updated​

A user's profile changed. fields: comma-separated attribute names.

FieldValue
Targetsuser
Required metadataNone
Optional metadatafields, source, reason, request_id
OCSFUser Management (3007), activity_id 2
{
"event": "user.updated",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {
"fields": "name,email"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"fields": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

user.deleted​

A user account was deleted.

FieldValue
Targetsuser
Required metadataNone
Optional metadatasource, reason, request_id
OCSFUser Management (3007), activity_id 3
{
"event": "user.deleted",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

user.suspended​

A user account was suspended.

FieldValue
Targetsuser
Required metadataNone
Optional metadatasource, reason, request_id
OCSFUser Management (3007), activity_id 5
{
"event": "user.suspended",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

user.reactivated​

A suspended user account was reactivated.

FieldValue
Targetsuser
Required metadataNone
Optional metadatasource, reason, request_id
OCSFUser Management (3007), activity_id 4
{
"event": "user.reactivated",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

organization.created​

An organization was created.

FieldValue
Targetsorganization
Required metadataNone
Optional metadatasource, reason, request_id
OCSFEntity Management (3004), activity_id 1
{
"event": "organization.created",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

organization.updated​

An organization's settings or profile changed.

FieldValue
Targetsorganization
Required metadataNone
Optional metadatafields, source, reason, request_id
OCSFEntity Management (3004), activity_id 3
{
"event": "organization.updated",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
}
],
"metadata": {
"fields": "name,email"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"fields": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

organization.deleted​

An organization was deleted.

FieldValue
Targetsorganization
Required metadataNone
Optional metadatasource, reason, request_id
OCSFEntity Management (3004), activity_id 4
{
"event": "organization.deleted",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

invitation.sent​

Someone was invited to join an organization.

FieldValue
Targetsinvitation, organization
Required metadatarole
Optional metadatasource, reason, request_id
OCSFEntity Management (3004), activity_id 1
{
"event": "invitation.sent",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "invitation",
"id": "invt_01JA2Q4N"
},
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
}
],
"metadata": {
"role": "admin"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"role"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

invitation.accepted​

An invitation was accepted.

FieldValue
Targetsinvitation, organization, user
Required metadataNone
Optional metadatarole, source, reason, request_id
OCSFEntity Management (3004), activity_id 3
{
"event": "invitation.accepted",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "invitation",
"id": "invt_01JA2Q4N"
},
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
},
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {
"role": "admin"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

invitation.revoked​

A pending invitation was revoked.

FieldValue
Targetsinvitation, organization
Required metadataNone
Optional metadatasource, reason, request_id
OCSFEntity Management (3004), activity_id 4
{
"event": "invitation.revoked",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "invitation",
"id": "invt_01JA2Q4N"
},
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

member.added​

A user became a member of an organization.

FieldValue
Targetsmember, organization, user
Required metadatarole
Optional metadatasource, reason, request_id
OCSFGroup Management (3006), activity_id 3
{
"event": "member.added",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "member",
"id": "mem_01JA2JUBAL"
},
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
},
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {
"role": "admin"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"role"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

member.removed​

A member was removed from an organization.

FieldValue
Targetsmember, organization, user
Required metadataNone
Optional metadatarole, source, reason, request_id
OCSFGroup Management (3006), activity_id 4
{
"event": "member.removed",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "member",
"id": "mem_01JA2JUBAL"
},
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
},
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {
"role": "admin"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

member.role_changed​

A member's role changed.

FieldValue
Targetsmember, organization, user
Required metadatarole, previous_role
Optional metadatasource, reason, request_id
OCSFUser Management (3007), activity_id 16
{
"event": "member.role_changed",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "member",
"id": "mem_01JA2JUBAL"
},
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
},
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {
"role": "admin",
"previous_role": "member"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"previous_role": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"role",
"previous_role"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}