Version 4.0.26.18

> [!NOTE]
> **Note:** These docs are for an older version of the API. The API reference is also available for [the latest version, 4.0.26.22](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest).

### Update the dashboard element with a specific id.

## Request

PATCH /dashboard_layout_components/{dashboard_layout_component_id} Datatype Description Request HTTP Request path HTTP Path Expand HTTP Path definition... dashboard_layout_component_id string Id of dashboard layout component body HTTP Body Expand HTTP Body definition... body [DashboardLayoutComponent](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/DashboardLayoutComponent) DashboardLayoutComponent Expand DashboardLayoutComponent definition... can object Operations the current user is able to perform on this object id string Unique Id dashboard_layout_id string Id of Dashboard Layout dashboard_element_id string Id Of Dashboard Element row integer Row column integer Column width integer Width height integer Height deleted boolean Whether or not the dashboard layout component is deleted element_title string Dashboard element title, extracted from the Dashboard Element. element_title_hidden boolean Whether or not the dashboard element title is displayed. vis_type string Visualization type, extracted from a query's vis_config granular_row integer Row (granular layout) granular_column integer Column (granular layout) granular_width integer Width (granular layout) granular_height integer Height (granular layout) group_id string Id of parent Dashboard Layout Component group query HTTP Query Expand HTTP Query definition... fields string Requested fields.

## Response

### 200: DashboardLayoutComponent

Datatype Description (object) [DashboardLayoutComponent](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/DashboardLayoutComponent) can object Operations the current user is able to perform on this object id string Unique Id dashboard_layout_id string Id of Dashboard Layout dashboard_element_id string Id Of Dashboard Element row integer Row column integer Column width integer Width height integer Height deleted boolean Whether or not the dashboard layout component is deleted element_title string Dashboard element title, extracted from the Dashboard Element. element_title_hidden boolean Whether or not the dashboard element title is displayed. vis_type string Visualization type, extracted from a query's vis_config granular_row integer Row (granular layout) granular_column integer Column (granular layout) granular_width integer Width (granular layout) granular_height integer Height (granular layout) group_id string Id of parent Dashboard Layout Component group

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/ValidationErrorDetail)\[\] Expand ValidationErrorDetail definition... field string Field with error code string Error code message string Error info message documentation_url string Documentation link documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

## Examples

### Python


|---|
| [https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/large_dashboard_warning_text_automation/add_warning_to_large_dashboards.py](https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/large_dashboard_warning_text_automation/add_warning_to_large_dashboards.py#L97 "https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/large_dashboard_warning_text_automation/add_warning_to_large_dashboards.py") |
| [https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/large_dashboard_warning_text_automation/add_warning_to_large_dashboards.py](https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/large_dashboard_warning_text_automation/add_warning_to_large_dashboards.py#L119 "https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/large_dashboard_warning_text_automation/add_warning_to_large_dashboards.py") |