zone.stratos.admin.removeAdmin

lexicon.northsky.app

Documentation

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

main procedure

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

Input

Encodingapplication/json
did stringdid Required

The DID to revoke admin access from.

Output

Encodingapplication/json
did stringdid Required

A decentralized identifier (DID).

Errors

NotFound The DID does not hold admin access.
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"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did",
          "description": "The DID to revoke admin access from."
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "NotFound",
      "description": "The DID does not hold admin access."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Revoke admin access from a DID. Config-provided admins cannot be revoked here, and an admin cannot revoke their own access."
}

Lexicon Garden

@