social.colibri.beta.community.setMemberRoles
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Sets the complete set of roles a member holds.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The requesting user lacks the role.manage permission.",
"name": "Forbidden"
},
{
"description": "No community exists with that DID.",
"name": "CommunityNotFound"
},
{
"description": "The subject does not hold a member record in this community.",
"name": "MemberNotFound"
},
{
"description": "One of the requested roles does not exist.",
"name": "RoleNotFound"
},
{
"description": "The requesting user cannot grant or revoke a role at or above their own highest position.",
"name": "RoleHierarchy"
},
{
"description": "The AppView's stored credentials for this community are missing or unusable.",
"name": "CredentialsUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"community": {
"description": "The community the member belongs to.",
"format": "did",
"type": "string"
},
"roles": {
"description": "The complete new set of roles the member should hold.",
"items": {
"description": "A role.",
"format": "record-key",
"type": "string"
},
"type": "array"
},
"subject": {
"description": "The member whose roles are being set.",
"format": "did",
"type": "string"
}
},
"required": [
"community",
"subject",
"roles"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"member": {
"description": "The updated member.",
"ref": "social.colibri.beta.community.defs#memberView",
"type": "ref"
}
},
"required": [
"member"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.community.setMemberRoles",
"lexicon": 1
}
Metadata
- DID
-
did:plc:mprdjqjluoswa7awzggaggj3 - CID
-
bafyreickayez3ixnf6r3pczqrojvzuuixhjogy3zj26zevveemqywwjc6e - Indexed At
- 2026-08-23 12:32 UTC
- AT-URI
-
at://did:plc:mprdjqjluoswa7awzggaggj3/com.atproto.lexicon.schema/social.colibri.beta.community.setMemberRoles
Referenced Schemas (1)
Similar Lexicons
Lexicons 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 procedure
Set 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 procedure
Updates a role's settings.
-
Lists a community's roles.
-
com.getorbyt.community.saveRole procedure
Creates 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. On…