Levain LabsLevain Labs
ApiWikis

Delete Wiki Page

Delete a page from the knowledge base.

Delete a page from the knowledge base.

Seeded structural pages (overview.md, DESIGN.md, VOICE.md) and the schema file (CLAUDE.md) cannot be deleted — those paths return 404. Returns 204 whether or not the page existed (idempotent).

DELETE
/api/v1/wikis/{wiki_id}/pages/{page_path}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

wiki_id*Wiki Id
Formatuuid
page_path*Page Path

Header Parameters

X-API-Key?string|null

Response Body

application/json

curl -X DELETE "https://api.levainlabs.com/api/v1/wikis/497f6eca-6276-4993-bfeb-53cbbbba6f08/pages/string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}