---
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

---

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