pub.chive.admin.revokeRole

Revoke a role from a user

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · procedure
Kindprocedure
Authorityadmin.chive.pub
Indexed

Procedure

procedure · POST

Input

application/json

did

requiredstring · did

Target user DID

role

requiredstring

Role to revoke

  • knownValues: admin | moderator | graph-editor | author | reader | alpha-tester | premium

Output

application/json

success

requiredboolean

Whether the role was revoked

Errors

AuthenticationRequired

No description in schema.

AdminRequired

No description in schema.

InvalidRequest

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Revoke a user's governance role. Only accessible to administrators. Also revokes any active delegation.

  • Revoke a role.

  • Assign a role to a user

  • Revoke admin access from a DID. Config-provided admins cannot be revoked here, and an admin cannot revoke their own access.

  • Deletes a role the Community defined, or, for the key moderator, puts the built-in moderator role back to its default permissions. A role someone holds cannot be deleted; move them to another role first. Only an administrator may delete roles. Recorded in the moderation log.