Skip to content
Proud to collaborate with Microsoft for Startups

data.identity.end-user.revoke-sessions.persist ​

Revoke all of an end-user's current tokens (sets the cut-off)

Set EndUser.tokens_invalid_before=now() and revoke outstanding continuation grants.

Input: end_user_uuid (required), actor (optional). Output: end_user_uuid, revoked_at, persisted, grants_revoked.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
end_user_uuiduuidYes——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
end_user_uuiduuidYes——
revoked_atstringYes——
persistedbooleanYes——
grants_revokedintegerNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeRevoke sessions
completedNoYesYes—Persisted
failedNoYesNo—Persist failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

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

{
  "workflow_type": "data.identity.end-user.revoke-sessions.persist",
  "initial_data": {
    "end_user_uuid": "value"
  }
}