app.tempomusic.staff.revokeStaffRole
Mark a moderator row as revoked. The DID can no longer pass the moderator gate (latency = the moderator-cache TTL, default 30s). Requires the caller to have the `superAdmin` role. A super-admin cannot revoke themselves. Writes a `moderatorRevoked` audit row only when an active row was actually revoked. Idempotent: revoking a DID that is not currently an active moderator returns 200 with `revoked: false` and no audit row.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | staff.tempomusic.app |
| Indexed |
Procedure
procedure · POSTOutput
application/jsonauditEntryId
integerPresent only when revoked=true.
minimum: 1
True when a previously active row was revoked. False when the DID was not an active moderator (idempotent no-op).
Errors
Forbidden
The caller is not a super-admin.
CannotRevokeSelf
A super-admin cannot revoke their own row. Have another super-admin do it.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.tempomusic.staff.grantStaffRole
procedureAdd a DID to the moderators allowlist with the given role. Requires the caller to have the `superAdmin` role. Writes a `moderatorGranted` audit row only when a new row is inserted or a revoked row is reactivated. Idempotent: granting a DID that already holds the same active role returns 200 with `granted: false` and no audit row.
-
app.didpic.admin.revokeRole
procedureRevoke a role.
-
app.tempomusic.staff.unsuspendAccount
procedureLift an account suspension: deletes the current state row (history stays in the audit log) and instantly readmits the account's content on the public surface. Also accepts a LAPSED suspension (removes the stale row). Cannot lift a ban. Requires the `moderator` role. Writes an `accountUnsuspended` audit row.
-
pub.chive.admin.revokeRole
procedureRevoke a role from a user
-
pub.chive.governance.revokeRole
procedureRevoke a user's governance role. Only accessible to administrators. Also revokes any active delegation.