{
"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." },
{ "name": "NotOwner", "description": "The account does not own this repository." },
{ "name": "RepoNotFound", "description": "No repository record publishes this repo DID." },
{ "name": "OwnershipUnverifiable", "description": "Repository ownership could not be verified." },
{ "name": "SiteConfigDisputed", "description": "The stored site config names a different owner and must be re-saved by the repository owner." }
]
}
}
}