fyi. opensocial. deleteSpace
Delete a group space and its index entry. Requires space.delete.
- Kind
- A method (procedure)
- Part of
- The reference host
- Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.deleteSpace
main procedure
Input
Encoding: application/json
| Field | Type | Description |
|---|---|---|
group (required) | string (did) | The group DID. Every method is served by the group's host and authorized against that group's roles. |
space (required) | string (space-ref) |
Output
Encoding: application/json
No fields.
Errors
SpaceNotFound: The group has no such space.ReservedSpace: The meta and members spaces can't be created or deleted.
The schema as published
{
"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
}