SpaceService · SpaceService_DeleteSpace
Access
Requires the space ADMIN role as an active member. An instance administrator who is not a space administrator cannot use these governance operations.
Deletes every memo placed here
Permanently deletes the space, its memberships and every memo currently placed in it, including their owned attachments. This affects memos by all creators and is not an archive or a move to personal space. Relation edges do not extend the deletion to memos outside the space. Export or move content you need before calling it; storage cleanup can fail after the deletion transaction commits.
Successful response
This operation has no resource to return. The Rust REST transport serializes protobuf Empty as HTTP 200 with JSON {}. The empty success-schema area in the generated contract is intentional, not missing request instructions.
Request
DeleteSpace permanently deletes a space and every memo currently placed in it. It never follows memo relations to other memos.
/api/v1/spaces/{space}Parameters
| Name / location | Type / requirement | Description |
|---|---|---|
spacepath | string Required | The space id. |
Request body
No request body is declared.
Responses
200 · OK
default · Default error response
application/json · Status
Complete operation definition
All declared constraints, media types and response details are retained below. Schema references link to their complete definitions.
Open JSON definition
{
"tags": [
"SpaceService"
],
"description": "DeleteSpace permanently deletes a space and every memo currently placed\n in it. It never follows memo relations to other memos.",
"operationId": "SpaceService_DeleteSpace",
"parameters": [
{
"name": "space",
"in": "path",
"description": "The space id.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {}
},
"default": {
"description": "Default error response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Status"
}
}
}
}
}
}