修改 SQL 审计配置

该接口仅支持 TiDB 企业版。

接口URL

/api/v1/cluster/sqlaudit/{clusterID}/config

请求方式

POST

Content-Type

application/json

请求Body参数

{
  "LogReservedDays": 3
}
参数名 示例值 参数类型 是否必填 参数描述
LogReservedDays 3 Integer 日志保留天数

认证方式

Bearer auth

路径变量

参数名 示例值 参数描述
clusterID - -

成功响应示例

{
    "Data": null,
    "Success": true
}
参数名 示例值 参数类型 参数描述
Data null Null -
Success true Boolean 调用是否成功
© 2024 平凯星辰(北京)科技有限公司 all right reserved,powered by GitbookFile Modify: 2024-04-02 15:37:04

results matching ""

    No results matching ""