pub.chive.admin.assignRole

Assign a role to 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 assign

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

Output

application/json

success

requiredboolean

Whether the role was assigned

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.