监控与采集相关接口/Grafana 仪表盘
PUTGrafana起始版本 1.0同步需要认证
更新仪表盘锁配置
更新仪表盘锁配置参数。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
请求体字段
lockTtlMinutesInteger必填锁有效期,单位为分钟。
示例: 30
allowForceUnlockBoolean必填是否允许强制解锁。
示例: true
requireIfMatchHeaderBoolean必填是否要求 If-Match 请求头。
示例: true
响应状态
请求地址
PUT/api/v1/monitoring/dashboards/lock/config
/api/v1/monitoring/dashboards/lock/config
请求示例
curl -X PUT '{host}/api/v1/monitoring/dashboards/lock/config' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"lockTtlMinutes":30,"allowForceUnlock":true,"requireIfMatchHeader":true}'
响应示例
200{}变更历史
此 API 暂无变更历史记录。
