social.colibri.beta.community.setMemberRoles
Sets the complete set of roles a member holds.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.beta.colibri.social |
| Indexed |
Procedure
procedure · POSTInput
application/jsonOutput
application/jsonThe updated member.
Errors
AuthRequired
The request is missing, malformed, or unverifiable service auth.
Forbidden
The requesting user lacks the role.manage permission.
CommunityNotFound
No community exists with that DID.
MemberNotFound
The subject does not hold a member record in this community.
RoleNotFound
One of the requested roles does not exist.
RoleHierarchy
The requesting user cannot grant or revoke a role at or above their own highest position.
CredentialsUnavailable
The AppView's stored credentials for this community are missing or unusable.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Replaces the set of roles assigned to a member.
-
fyi.opensocial.assignRoles
procedureSet a member's full role set. Requires role.assign; every role added or removed must be in the caller's assignable set.
-
social.colibri.beta.role.update
procedureUpdates a role's settings.
-
Lists a community's roles.
-
com.getorbyt.community.saveRole
procedureCreates a Community role, or changes one. Without a key it creates a role; with one it replaces that role's name and permissions. The key moderator changes what the built-in moderator role may do, and keeps its name. Only an administrator may define roles. Recorded in the moderation log.