Skip to content

Notebook.trash

Move notebook to trash (soft delete). Can be restored later.

Server: DELETE /api/notebooks/{id} (soft-delete). There is no POST /trash route for notebooks — that path was an SDK bug.

Signature

trash() -> None

HTTP parameters

Name In Type Required Default
notebook_id path string yes -

Return shape

HTTP 204 — No Content

Permission

Required permission: notebook:delete

HTTP

DELETE /api/notebooks/{id} (deleteNotebook)

Usage

notebook.trash()