zone.stratos.admin.removeAdmin

Revoke admin access from a DID. Config-provided admins cannot be revoked here, and an admin cannot revoke their own access.

Details · procedure
Kindprocedure
Authorityadmin.stratos.zone
Indexed
cid bafyreidnnptpnxwb56zh3pcxepvg5asq4kjnsryjltf5hbta2fy3qxtdua

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Revoke admin access from a DID. Config-provided admins cannot be revoked here, and an admin cannot revoke their own access.",
      "errors": [
        {
          "description": "The DID does not hold admin access.",
          "name": "NotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "description": "The DID to revoke admin access from.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "zone.stratos.admin.removeAdmin",
  "lexicon": 1
}