zone.stratos.admin.setActive

Activate or deactivate an enrolled member. Requires admin authorization. Deactivation is reversible and preserves the member's boundaries.

Details · procedure
Kindprocedure
Authorityadmin.stratos.zone
Indexed
cid bafyreiew2xlhizf5curuemlygkkbls5e5m3hbb5bbq434hwps4mzip3coi

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Activate or deactivate an enrolled member. Requires admin authorization. Deactivation is reversible and preserves the member's boundaries.",
      "errors": [
        {
          "description": "The DID is not enrolled.",
          "name": "NotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "active": {
              "description": "Whether the member's enrollment should be active.",
              "type": "boolean"
            },
            "did": {
              "description": "The member to update.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "did",
            "active"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "active": {
              "type": "boolean"
            },
            "did": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "did",
            "active"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "zone.stratos.admin.setActive",
  "lexicon": 1
}