---
title: "Rename a workbook"
method: PATCH
path: "/external/v1/workbooks/{workbook_id}"
tags: ["Workbook"]
---

# Rename a workbook

`PATCH /external/v1/workbooks/{workbook_id}`

## Request

- Base URL: `https://api.databar.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.databar.ai/external/v1/workbooks/{workbook_id}`
- Auth: API key in header `x-apikey`

## Path parameters

- `workbook_id` string, required

## Request body

- RenameWorkbookIn
  - `name` string, required

## Response `200`

OK

- WorkbookOut
  - `identifier` string, required
  - `name` string, required
  - `created_at` string, required
  - `updated_at` string, required
  - `folder_id` integer, nullable
  - `tables` WorkbookTableOut[]
    - `identifier` string, required
    - `name` string, required
    - `position` integer, required
  - `tables_count` integer

---

[API](https://skmtc.dev/databar/apis/external-api.md) - [All operations](https://skmtc.dev/databar/apis/external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/databar/apis/external-api/revisions/efe15f8bb9bb?raw)
