~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
31 lines · 696 B Raw History
{
  "lexicon": 1,
  "id": "com.atproto.space.deleteSpace",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Delete a space, along with the authority's space repo. Requires auth as the space authority, implemented by PDS.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["space"],
          "properties": {
            "space": {
              "type": "string",
              "format": "space-ref"
            }
          }
        }
      },
      "errors": [
        {
          "name": "SpaceNotFound"
        },
        {
          "name": "NotAuthorized"
        }
      ]
    }
  }
}