Skip to content

MemberDirectory.failed

A Customer’s directory stopped pushing, or its pushes are refused, so access no longer follows it.

PropertyValue
Raised byNo Verb: the rail raises it
NounMember Directory
MovesMember Directory active to failing
WakesNone.

Payload

Each delivery is an Event record. data holds the Member Directory as it stands, and previous holds the state it left.

FieldTypeRequiredDescription
namestringrequiredMemberDirectory.failed.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.memberDirectoryMember DirectoryrequiredThe Member Directory as the change left it.
data.memberDirectory.statestringrequiredWhere it stands; only active fills Roles.
data.memberDirectory.groupRolesjsonWhich directory group fills which Role in the Tenant.
data.memberDirectory.lastChangeAtdatetimeWhen the Customer’s directory last pushed a change.
data.causestringrequiredWhat failed: tokenRevoked, noPushIn24h, or pushRefused.
data.previous.statestringrequiredThe state before this Event: active.

Example

JSON
{
  "$id": "https://api.sb/leaseline.app/events/evt_WpKoq0QAW6",
  "$type": "Event",
  "name": "MemberDirectory.failed",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "memberDirectory": {
      "$id": "https://api.sb/leaseline.app/member-directories/directory_qZldlwGLVN",
      "$type": "MemberDirectory",
      "state": "failing",
      "groupRoles": {},
      "lastChangeAt": "2026-10-22T12:00:00Z"
    },
    "cause": "tokenRevoked",
    "previous": {
      "state": "active"
    }
  },
  "seq": 449
}