Delete a page

Permanently delete a page and every record that depends on it, including its versions and connections. This cannot be undone.

Authentication

x-api-keystring

Your Living Brain API key. Create one from the dashboard; keys are scoped to an organization and carry the role of the member they were issued to.

Path parameters

brainIdstringRequired
Brain id
slugstringRequired
Page slug

Headers

x-subject-idstringRequired
Identifies the end user the request is made on behalf of. Brains are owned by a subject, so this determines which brains the caller can see.

Query parameters

permanentenumRequired

Explicit irreversible-deletion confirmation

Allowed values:

Response

deletedboolean
Whether the page was removed.
pageIdstring
Deleted page id
slugstring
Deleted page slug

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error