---
title: "Patch a Notebook in the given Namesapce, Update Yarn Resource Setting"
method: PATCH
path: "/aide/v1/notebooks/{id}"
---

# Patch a Notebook in the given Namesapce, Update Yarn Resource Setting

`PATCH /aide/v1/notebooks/{id}`

Post Notebooks.

## Path parameters

- `id` string, string, required

## Request body

- PatchNotebookRequest
  - `queue` string — BDAP Yarn Queue Setting
  - `executorCores` string — User excutor core setting in BDAP Yarn Cluster
  - `executorMemory` string — User excutor memory setting in BDAP Yarn Cluster
  - `executors` string — User excutors setting in BDAP Yarn Cluster
  - `driverMemory` string — User driver memory in BDAP Yarn Cluster
  - `sparkSessionNum` number — The number of spark session
  - `cpu` number
  - `memoryAmount` number
  - `memoryUnit` string
  - `extraResources` string
  - `imageName` string
  - `imageType` string

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `404` — Notebook create failed

## Changes

- **2026-07-17** `96d3198b3b53` — 1 info
  - endpoint added
- **2020-12-07** `180e06e8bcb6` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/webankfintech/apis/jupyter-server/changes/aide/v1/notebooks/:id/patch.md)

---

[API](https://skmtc.dev/webankfintech/apis/jupyter-server.md) · [All operations](https://skmtc.dev/webankfintech/apis/jupyter-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webankfintech/jupyter-server/revisions/96d3198b3b53/schema)
