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

# Update a Dashboard

> Create or update a dashboard with a full request body

# Update a Dashboard

Create a dashboard or update it if it already exists, using `PUT /v1/dashboards` with the full request body. Send the complete definition, not just the fields you want to change. To change only some fields, use `PATCH` with a JSON Patch array and the `application/json-patch+json` content type, as shown in the PATCH examples below.

## Body Parameters

**name** `string` *required*

Name of the dashboard. Must be unique within the parent dashboard service.

**service** `string` *required*

Fully qualified name of the parent DashboardService, for example `sample_superset`.

**displayName** `string`

Human-readable display name for the dashboard.

**description** `string`

Description of the dashboard in Markdown format.

**sourceUrl** `string`

URL of the dashboard in the source system.

**charts** `array`

Array of chart fully qualified names to associate with the dashboard.

**owners** `array`

Array of owner references (users or teams) to assign to the dashboard.

**properties**

**id** `string`

UUID of the owner entity.

**type** `string`

Type of owner entity, for example `user`, `team`.

**name** `string`

Name of the owner entity.

**domains** `array`

Fully qualified names of the domains to assign for governance purposes.

**tags** `array`

Array of classification tags to apply to the dashboard.

**properties**

**tagFQN** `string` *required*

Fully qualified name of the tag.

**labelType** `string`

Type of label, for example `Manual`, `Derived`, `Propagated`.

**state** `string`

State of the tag, for example `Suggested`, `Confirmed`.

**extension** `object`

Custom property values defined by your organization's metadata schema.

```bash PUT /v1/dashboards theme={null}
curl -X PUT "{base_url}/api/v1/dashboards" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "10",
    "displayName": "deck.gl Demo",
    "service": "sample_superset",
    "description": "Dashboard showcasing deck.gl visualizations",
    "sourceUrl": "http://localhost:808/superset/dashboard/10/"
  }'
```

```python PATCH /v1/dashboards/{id} theme={null}
from metadata.sdk import configure
from metadata.sdk.entities import Dashboards

configure(
    host="https://your-company.open-metadata.org/api",
    jwt_token="your-jwt-token"
)

# Retrieve, modify, and update
dashboard = Dashboards.retrieve("03fb5cc3-de48-423f-9926-8e192e5de59d")
dashboard.description = "Updated: deck.gl Demo dashboard with new visualizations"
dashboard.displayName = "deck.gl Demo v2"
updated = Dashboards.update(dashboard)

print(f"Updated to version {updated.version.root}")
```

```java PATCH /v1/dashboards/{id} theme={null}
import org.openmetadata.schema.entity.data.Dashboard;

// client is an initialized OpenMetadataClient.

// Retrieve, modify, and update
Dashboard dashboard = client.dashboards().get("03fb5cc3-de48-423f-9926-8e192e5de59d");
dashboard.setDescription("Updated: deck.gl Demo dashboard with new visualizations");
Dashboard updated = client.dashboards().update("03fb5cc3-de48-423f-9926-8e192e5de59d", dashboard);
```

```bash PATCH /v1/dashboards/{id} theme={null}
# Update by ID
curl -X PATCH "{base_url}/api/v1/dashboards/03fb5cc3-de48-423f-9926-8e192e5de59d" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json-patch+json" \
  -d '[
    {"op": "replace", "path": "/description", "value": "Updated: deck.gl Demo dashboard with new visualizations"}
  ]'

# Update by name
curl -X PATCH "{base_url}/api/v1/dashboards/name/sample_superset.10" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json-patch+json" \
  -d '[
    {"op": "replace", "path": "/description", "value": "Updated: deck.gl Demo dashboard with new visualizations"}
  ]'
```

```json Response theme={null}
{
  "id": "03fb5cc3-de48-423f-9926-8e192e5de59d",
  "name": "10",
  "displayName": "deck.gl Demo v2",
  "fullyQualifiedName": "sample_superset.10",
  "description": "Updated: deck.gl Demo dashboard with new visualizations",
  "version": 0.2,
  "updatedAt": 1769982666437,
  "updatedBy": "admin",
  "sourceUrl": "http://localhost:808/superset/dashboard/10/",
  "service": {
    "id": "b1e6a71d-7f47-4e5f-8ce0-e6e8a88ec97a",
    "type": "dashboardService",
    "name": "sample_superset",
    "fullyQualifiedName": "sample_superset",
    "deleted": false
  },
  "serviceType": "Superset",
  "href": "http://localhost:8585/api/v1/dashboards/03fb5cc3-de48-423f-9926-8e192e5de59d",
  "deleted": false,
  "owners": [],
  "tags": [],
  "domains": []
}
```

***

## Returns

Returns the updated dashboard object with the new version number.

## Response

**id** `string`

Unique identifier for the dashboard (UUID format).

**name** `string`

Dashboard name.

**fullyQualifiedName** `string`

Fully qualified name in format `service.dashboardName`.

**description** `string`

Updated description.

**version** `number`

Incremented version number.

***

## Error Handling

| Code | Error Type | Description |
| - | - | - |
| `400` | `BAD_REQUEST` | Invalid or malformed request body |
| `401` | `UNAUTHORIZED` | Invalid or missing authentication token |
| `403` | `FORBIDDEN` | User lacks permission to update this dashboard |
| `409` | `CONFLICT` | Concurrent modification detected |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.