調用ModifyAccountDescription接口修改PolarDB數據庫賬號的備注信息。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

請求參數

名稱 類型 是否必選 示例值 描述
Action String ModifyAccountDescription

系統規定參數,取值為ModifyAccountDescription

AccountDescription String test

賬號備注信息,備注信息需滿足如下要求:

  • 不能以http://https://開頭。
  • 長度為2~256個字符。
AccountName String testacc

賬號名稱。

DBClusterId String pc-*************

集群ID。

返回數據

名稱 類型 示例值 描述
RequestId String 2FED790E-FB61-4721-8C1C-07C627******

請求ID。

示例

請求示例

http(s)://polardb.aliyuncs.com/?Action=ModifyAccountDescription
&AccountDescription=test
&AccountName=testacc
&DBClusterId=pc-*************
&<公共請求參數>

正常返回示例

XML 格式

<ModifyAccountDescriptionResponse>
  <RequestId>2FED790E-FB61-4721-8C1C-07C627******</RequestId>
</ModifyAccountDescriptionResponse>

JSON 格式

{
   "RequestId": "2FED790E-FB61-4721-8C1C-07C627******"
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。