social.colibri.beta.community.setMemberRoles

colibri.social

{
  "$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
}

Validate Record

Validate a record against social.colibri.beta.community.setMemberRoles

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

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.

Lexicon Garden

@