DocumentationAPI reference

Rust · 0.1.0

Delete Space

DELETE /api/v1/spaces/{space}

SpaceService · SpaceService_DeleteSpace

Protocol-derived reference. Authorization and instance policy still apply. Schema descriptions are inherited from the MIT-licensed application contract; examples here are not executed against a live server.

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.

DELETE/api/v1/spaces/{space}

Parameters

Name / locationType / requirementDescription
space
path
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"
          }
        }
      }
    }
  }
}