Skip to content
Proud to collaborate with Microsoft for Startups

identity.end-user.session.revoke ​

Revoke all of an end-user's current sessions (force re-login)

Revoke all of an end-user's current sessions (force re-login; account stays active).

Inputs: actor, organization_uuid, identity_app_uuid, end_user_uuid (all required). Outputs: end_user_uuid, revoked_at, revoked.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
end_user_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
end_user_uuiduuidYes——
revoked_atstringNo——
revokedbooleanNo——
grants_revokedintegerNo——
actorstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—validate—
persistingNoNo—complete—
validatingNoNo—persist—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedvalidatevalidating—
validatingpersistpersisting—
persistingcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "identity.end-user.session.revoke",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "end_user_uuid": "value"
  }
}