v1

latestSwagger 2.0Apache 2.02026-07-17113236428.7 KB
parameter group

update a parameter group

update a parameter group

put/param-groups/{paramGroupId}

Path parameters

paramGroupIdstring required

parameter group id

Request body

clusterSpecstring
clusterVersionstring
delParamsstring[]
namestring
notestring

Example request

{
  "addParams": [
    {
      "category": "log",
      "defaultValue": "1024",
      "description": "binlog size",
      "hasApply": 1,
      "instanceType": "TiDB",
      "name": "binlog_size",
      "rangeType": 1,
      "systemVariable": "log.binlog_size",
      "unit": "MB",
      "unitOptions": [
        "KB",
        "MB",
        "GB"
      ]
    }
  ],
  "clusterSpec": "8C16G",
  "clusterVersion": "v5.0",
  "delParams": [
    "1"
  ],
  "name": "8C16GV4_new",
  "note": "update param group",
  "params": [
    {
      "defaultValue": "1",
      "note": "binlog cache size",
      "paramId": "123"
    }
  ]
}

Response

OK

codeinteger
messagestring

Example response

{
  "data": {
    "paramGroupId": "1"
  }
}