Update multiple custom dashboards
update_custom_dashboardsUpdate Documents
When to use: 여러 커스텀 대시보드 문서의 이름·정의(body)·정렬순서(sort_order)를 한 번에 일괄 수정할 때. 각 항목의 id 로 대상 문서를 지정한다.
When NOT to use: 단일 문서를 충돌 안전하게(OCC) 고치려면 update_custom_dashboard 를 쓴다. 나중에 되돌릴 수 있어야 하는 정의 수정도 그 단건 수정으로 한다(버전이 남는다). 신규 생성은 create_custom_dashboard, 삭제는 delete_custom_dashboard.
Limitations: 일괄(bulk) 수정 — body 는 항목 리스트이며 낙관적 동시성(expected_version) 검사 없이 마지막 write 가 이긴다. 본인 소유(user_id) + 미삭제 문서만 대상. custom_dashboard:write 권한 필요. 각 항목은 body 필드 필수(값 null 허용 — null 이면 대시보드 정의 미변경), 그 외 제공한 필드만 갱신. 이 경로는 감사 기록도 version 증가도 없이 바로 덮어써 버전이 남지 않아, 잘못 고쳐도 restore_custom_dashboard_version 으로 복원할 수 없다.
Examples:
Q: 이 두 대시보드 이름을 한꺼번에 바꿔줘 params: {'body': [{'id': '7bbf3504-0c36-42d3-a847-581e6d89ef98', 'name': '1분기 요약'}, {'id': 'b2c3d4e5-1111-2222-3333-444455556666', 'name': '2분기 요약'}]}
Output shape: no content (in-place bulk update, 성공 시 body 없음)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>"
},
"name": "update_custom_dashboards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| project-id | No |