Notebooks

Reorder blocks in a notebook

Moves one or more active blocks as a group. Blocks omitted from blockIds keep their relative order.

post/notebooks/{notebookId}/reorder-blocks

Request

  • Base URL
    https://api.deepnote.com/v2
  • URL
    https://api.deepnote.com/v2/notebooks/{notebookId}/reorder-blocks
  • Auth
    HTTP bearer

Path parameters

notebookIdstring required

Opaque notebook identifier.

Request body

blockIdsstring[] required

Non-empty list of unique block IDs to move, in the desired moved-block order.

Response

Blocks reordered

blockIdsstring[] required

Final active block order for the notebook.

Changes

No recorded changes to this operation across all 29 revisions of this API.