{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Stop a base handing out names: remove its probe and clear its delegation state. Refused while any reservation remains under the base, because releasing another identity's name is a deliberate releaseReservation each. A certificate grant on the base is left alone, because certificate mode belongs to the base rather than to delegation.",
      "errors": [
        {
          "description": "No verified or active registration of that domain belongs to the caller.",
          "name": "NotBaseOwner"
        },
        {
          "description": "Names are still reserved under the base; release each with releaseReservation first.",
          "name": "DelegationHasReservations"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "domain": {
              "description": "The base: a domain registered to the caller.",
              "maxLength": 253,
              "type": "string"
            }
          },
          "required": [
            "domain"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "disabled": {
              "type": "boolean"
            },
            "domain": {
              "type": "string"
            }
          },
          "required": [
            "domain",
            "disabled"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "space.highport.manage.disableDelegation",
  "lexicon": 1
}
