---
title: "Update a notebook"
method: PATCH
path: "/notebooks/{notebookId}"
tags: ["Notebooks"]
---

# Update a notebook

`PATCH /notebooks/{notebookId}`

Renames the notebook. Naming it "Init" designates the project init notebook, which can run as a prelude to other notebooks in the project.

## Path parameters

- `notebookId` string, required — Opaque notebook identifier.

## Request body

- UpdateNotebookBody
  - `name` string, required — Updated notebook name.

## Response `200`

Notebook updated

- UpdateNotebookResponse
  - `notebook` object, required
    - `id` string, required — Opaque notebook identifier.
    - `projectId` string, uuid, required
    - `name` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time
    - `isInit` boolean, required — Whether this notebook is the init notebook for the project, which can run as a prelude to other notebooks in it. Naming a notebook "Init" designates it.

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `403` — Insufficient permissions
- `404` — Notebook not found
- `409` — Project is suspended, duplicate notebook name, or notebook management not allowed
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/deepnote/apis/deepnote-public-api.md) · [All operations](https://skmtc.net/deepnote/apis/deepnote-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepnote/deepnote-public-api/revisions/726970fd2992/schema)
