{
"id": "town.muni.arbiter.deleteSpace",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"arbiterDid",
"spaceKey"
],
"properties": {
"spaceKey": {
"type": "string",
"maxLength": 1024,
"description": "The space key of the space to delete."
},
"arbiterDid": {
"type": "string",
"format": "did",
"description": "The DID of the arbiter to delete the space from."
},
"resolverDepth": {
"type": "integer",
"description": "The maximum depth to allow when doing remote resolutions.\n\nBecause spaces are allowed to have members resolved from remote spaces,\nall of the arbiter endpoints have an optional resolution depth parameter\nthat can be used to limit how many chained remote calls can be resolved.\n\nThis applies both to queries and procedures. Queries may need to resolve\nexternal members to complete the member list, and procedures may need\nto resolve external members if the requesting member is not in the local\nmember list, to see if the member has access through a remote list."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "ErrPermissionDenied",
"description": "The requesting user is not allowed to make the request."
},
{
"name": "ErrSpaceNotExists",
"description": "The specified space does not exist on this arbiter."
}
],
"output": {
"schema": {
"refs": [],
"type": "union"
},
"encoding": "application/json"
},
"description": "Delete a space from the arbiter."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}