1. Spaces
Source Wiki (External APIs)
  • Categories
    • List categories (paginated)
      GET
    • Create a category
      POST
    • Get a single category
      GET
    • Update a category
      PATCH
    • Delete a category
      DELETE
  • Spaces
    • List spaces in a category (paginated)
      GET
    • Create a space
      POST
    • Get a single space
      GET
    • Update a space
      PATCH
    • Delete a space
      DELETE
  • Source Items
    • ProseMirror JSON Schema Reference
    • List source items in a space (paginated)
      GET
    • Create a source item
      POST
    • Get a single source item
      GET
    • Update a source item
      PATCH
    • Delete a source item
      DELETE
  • Schemas
    • User
    • SourceDocument
    • Category
    • Space
    • SourceItem
    • PublishedCategory
    • SuccessEnvelope
    • PaginationMeta
    • PaginationLinks
    • ValidationErrorResponse
    • UnauthenticatedResponse
    • NotFoundResponse
    • ConflictResponse
  1. Spaces

Delete a space

DELETE
https://api-dev.thesource.wiki/api/v1/spaces/{space}
Soft-deletes the space along with all its source items.

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢204No Content
Space deleted — no content returned
This response does not have a body.
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api-dev.thesource.wiki/api/v1/spaces/' \
--header 'Authorization: Bearer <token>'
Response Response Example
401 - Example 1
{
    "success": false,
    "message": "Unauthenticated.",
    "data": null,
    "errors": null
}
Modified at 2026-03-17 04:07:40
Previous
Update a space
Next
ProseMirror JSON Schema Reference
Built with