tools.ozone.team.addMember

ozone-lexicons.bsky.social

Documentation

Add a member to the ozone team. Requires admin role.

main procedure

Add a member to the ozone team. Requires admin role.

Input

Encodingapplication/json
did stringdid Required

A decentralized identifier (DID).

role string Required

No description available.

Output

Encodingapplication/json

Errors

MemberAlreadyExists Member already exists in the team.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "did",
        "role"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "role": {
          "type": "string",
          "knownValues": [
            "tools.ozone.team.defs#roleAdmin",
            "tools.ozone.team.defs#roleModerator",
            "tools.ozone.team.defs#roleVerifier",
            "tools.ozone.team.defs#roleTriage"
          ]
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "MemberAlreadyExists",
      "description": "Member already exists in the team."
    }
  ],
  "output": {
    "schema": {
      "ref": "tools.ozone.team.defs#member",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "description": "Add a member to the ozone team. Requires admin role."
}

Lexicon Garden

@