town.muni.arbiter.setSpaceMemberAccess

zicklag.dev

{
  "id": "town.muni.arbiter.setSpaceMemberAccess",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "arbiterDid",
            "spaceKey",
            "member",
            "access"
          ],
          "properties": {
            "access": {
              "refs": [],
              "type": "union",
              "description": "The updated access configuration for the member."
            },
            "member": {
              "refs": [
                "town.muni.arbiter.defs#memberDid",
                "town.muni.arbiter.defs#memberLocalSpace",
                "town.muni.arbiter.defs#memberRemoteSpace"
              ],
              "type": "union",
              "description": "The member to set the access of."
            },
            "spaceKey": {
              "type": "string",
              "maxLength": 1024,
              "description": "The key of the space to configure."
            },
            "arbiterDid": {
              "type": "string",
              "format": "did",
              "description": "The DID of the arbiter that the space is in."
            },
            "resolverDepth": {
              "type": "integer",
              "description": "The maximum depth to allow when doing remote resolutions.\n\nBecause spaces are allowed to have members resolved from remote spaces,\nall of the arbiter endpoints have an optional resolution depth parameter\nthat can be used to limit how many chained remote calls can be resolved.\n\nThis applies both to queries and procedures. Queries may need to resolve\nexternal members to complete the member list, and procedures may need\nto resolve external members if the requesting member is not in the local\nmember list, to see if the member has access through a remote list."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "ErrArbiterNotExists",
          "description": "The specified arbiter does not exist on this server."
        },
        {
          "name": "ErrSpaceNotExists",
          "description": "The specified space does not exist on this arbiter."
        },
        {
          "name": "ErrPermissionDenied",
          "description": "The requesting user is not allowed to make the request."
        },
        {
          "name": "ErrRaceCondition",
          "description": "The config was changed by another request during the execution of this request.\n\nThe action should be retried if still applicable."
        },
        {
          "name": "ErrMemberNotInSpace",
          "description": "The specified member is not in the space."
        },
        {
          "name": "ErrInvalidConfig",
          "description": "The config provided is invalid for some reason other than it being an unsupported\nlexicon."
        }
      ],
      "output": {
        "schema": {
          "refs": [],
          "type": "union"
        },
        "encoding": "application/json"
      },
      "description": "Set the access of a member in a space.\n\nThis is also how you add a new member to the space."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against town.muni.arbiter.setSpaceMemberAccess

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

Metadata

DID
did:plc:ulg2bzgrgs7ddjjlmhtegk3v
CID
bafyreia4c5v5ypfkhiihstaikp2qt5vyj2xchyjbnczjpywq3qvub2mlra
Indexed At
2026-05-19 22:18 UTC
AT-URI
at://did:plc:ulg2bzgrgs7ddjjlmhtegk3v/com.atproto.lexicon.schema/town.muni.arbiter.setSpaceMemberAccess

Version History (2 versions)

Referenced Schemas (3)

Lexicon Garden

@