> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# databases_update

> Update a database's title, description, icon, cover, inline display or trash state, or move it to a new parent. Columns belong to the data source — change those with `data_sources_update`.

<div className="tool-route"><span className="tool-row-method" data-method="PATCH">PATCH</span><code>{"https://api.notion.com/v1/databases/{databaseId}"}</code></div>

```python notion_databases_update.py theme={null}
from charter.packs import notion

result = await notion.databases_update.ainvoke({"databaseId": ..., "body": ...})
```

<Note>
  Requires `Update content`.
</Note>

## Path parameters

<div className="reference-table">
  | Field                                                              | Type     | Description             |
  | ------------------------------------------------------------------ | -------- | ----------------------- |
  | `databaseId` <span className="required" title="required">\*</span> | `string` | The ID of the database. |
</div>

## Body

<div className="reference-table">
  | Field                                                        | Type                                                                             | Description           |
  | ------------------------------------------------------------ | -------------------------------------------------------------------------------- | --------------------- |
  | `body` <span className="required" title="required">\*</span> | [DatabaseUpdateBody](/charter/charter/packs/notion/databases/objects#databaseupdatebody) | The fields to change. |
</div>
