fyi.opensocial.deleteSpace
Delete a group space and its index entry. Requires space.delete.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Delete a group space and its index entry. Requires space.delete.",
"errors": [
{
"description": "The group has no such space.",
"name": "SpaceNotFound"
},
{
"description": "The meta and members spaces can't be created or deleted.",
"name": "ReservedSpace"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"group": {
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
"format": "did",
"type": "string"
},
"space": {
"format": "space-ref",
"type": "string"
}
},
"required": [
"group",
"space"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "fyi.opensocial.deleteSpace",
"lexicon": 1
}