{
  "lexicon": 1,
  "id": "org.tangled.temp.repo.disableSite",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Remove the site configuration for a repository, deleting its deployed files.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["repoDid"],
          "properties": {
            "repoDid": {
              "type": "string",
              "format": "did",
              "description": "DID of the repository as minted by the knot."
            }
          }
        }
      },
      "errors": [
        { "name": "SiteNotFound", "description": "No site configuration exists for this repository." }
      ]
    }
  }
}
