space.highport.admin.setDomainState

Suspend, unsuspend, or force-release a domain.

Details · procedure
Kindprocedure
Authorityadmin.highport.space
Indexed
cid bafyreiczhoi25odf7ugcj6zmawscaisinlbb7dpngl5oh572bz6qymuyl4

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.reasonNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.stateNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Suspend, unsuspend, or force-release a domain.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "domain": {
              "description": "The hostname.",
              "maxLength": 253,
              "type": "string"
            },
            "reason": {
              "description": "Recorded in the domain's event log.",
              "type": "string"
            },
            "state": {
              "knownValues": [
                "suspended",
                "active",
                "released"
              ],
              "type": "string"
            }
          },
          "required": [
            "domain",
            "state"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "domain": {
              "ref": "space.highport.defs#domainView",
              "type": "ref"
            }
          },
          "required": [
            "domain"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "space.highport.admin.setDomainState",
  "lexicon": 1
}