Skip to content

Mandate.revoked

Emitted each time a Mandate is revoked.

Mandate.revoke emits Mandate.revoked when it completes on a Mandate.

PropertyValue
Emitted byMandate.revoke
NounMandate
MovesMandate active to revoked; Mandate paused to revoked; Card active to closed when the Mandate is this Card’s; Card frozen to closed when the Mandate is this Card’s
WakesNone.

Payload

Each delivery is an Event record. data holds what Mandate.revoke returns, and previous holds the state it left.

FieldTypeRequiredDescription
namestringrequiredMandate.revoked.
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.mandateMandaterequiredThe revoked Mandate.
data.mandate.expiresAtdatetimerequiredWhen it lapses.
data.mandate.limitLimitThe Limit that bounds it.
data.mandate.verbstringThe Verb it covers, as Noun.verb.
data.mandate.topicsstring[]What it may act on; an Action outside them becomes an Approval.
data.mandate.channelslist of ChannelThe Channels it may send through.
data.mandate.statusstringrequiredOne of active, paused, revoked or expired.
data.previous.statusstringrequiredThe status before this Event: active.

Example

JSON
{
  "$id": "https://api.sb/tutorloop.com/events/event_1",
  "$type": "Event",
  "name": "Mandate.revoked",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "mandate": {
      "$id": "https://api.sb/tutorloop.com/mandates/mandate_1",
      "$type": "Mandate",
      "expiresAt": "2026-10-22T12:00:00Z",
      "limit": "limit_1",
      "verb": "Example verb",
      "topics": [
        "Example topics"
      ],
      "channels": [
        "channel_1"
      ],
      "status": "revoked"
    },
    "previous": {
      "status": "active"
    }
  },
  "seq": 1
}