lol.dids.admin.setDomainState

ngerakines.me

Documentation

Suspend, unsuspend, or force-release a domain.

main procedure

Suspend, unsuspend, or force-release a domain.

Input

Encodingapplication/json
domain string Required

The hostname.

maxLength: 253 bytes
reason string Optional

Recorded on the domain's event log.

state string Required

No description available.

Output

Encodingapplication/json
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": [
        "domain",
        "state"
      ],
      "properties": {
        "state": {
          "type": "string",
          "knownValues": [
            "suspended",
            "active",
            "released"
          ]
        },
        "domain": {
          "type": "string",
          "maxLength": 253,
          "description": "The hostname."
        },
        "reason": {
          "type": "string",
          "description": "Recorded on the domain's event log."
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "domain"
      ],
      "properties": {
        "domain": {
          "ref": "lol.dids.defs#domainView",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Suspend, unsuspend, or force-release a domain."
}

Lexicon Garden

@