tools.ozone.team.addMember

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

Details · procedure
Kindprocedure
Authorityteam.ozone.tools
Indexed
cid bafyreifgesrgojatdptjp3ryaavymdyl52yyn3hplyiaibqatgdnulsxom

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.roleNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Add a member to the ozone team. Requires admin role.",
      "errors": [
        {
          "description": "Member already exists in the team.",
          "name": "MemberAlreadyExists"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "role": {
              "knownValues": [
                "tools.ozone.team.defs#roleAdmin",
                "tools.ozone.team.defs#roleModerator",
                "tools.ozone.team.defs#roleVerifier",
                "tools.ozone.team.defs#roleTriage"
              ],
              "type": "string"
            }
          },
          "required": [
            "did",
            "role"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "tools.ozone.team.defs#member",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.ozone.team.addMember",
  "lexicon": 1
}