ai.newnal.illi.device.unlink

Unlink the home's device (root admin). The home keeps its data; the device shows set-up again.

Details · procedure
Kindprocedure
Authoritydevice.illi.newnal.ai
Indexed
cid bafyreibogd7usb74eoce7yfdoxuv4rjhnieb5xi5gxqrqyhihvpcdwfrb4

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.deviceIdNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Unlink the home's device (root admin). The home keeps its data; the device shows set-up again.",
      "errors": [
        {
          "name": "NotRootAdmin"
        },
        {
          "name": "HomeNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "homeId": {
              "format": "tid",
              "type": "string"
            }
          },
          "required": [
            "homeId"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "deviceId": {
              "type": "string"
            },
            "status": {
              "type": "string"
            }
          },
          "required": [
            "deviceId",
            "status"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.device.unlink",
  "lexicon": 1
}