You need to enable JavaScript to run this app.
导航
UpdateAPIAccessKey
最近更新时间:2024.01.04 09:53:16首次发布时间:2024.01.04 09:53:16
UpdateAPIAccessKey

创建或更新集群的API aksk

接口说明

模块:集群管理
类型:open
场景:公有云

请求参数

参数名称类型是否必选示例值描述
ActionStringUpdateAPIAccessKey公共参数,本接口值:UpdateAPIAccessKey
VersionString2021-03-04公共参数,本接口值:2021-03-04
ClusterIDStringucxxxxxxxxxxxxxxxxxxx集群 ID
AccessKeyIDStringAKxxxxxxx创建或更新的 Access Key ID
SecretAccessKeyStringxxxxxxxxx创建或更新的 Secret Access Key

请求示例

POST /?Action=UpdateAPIAccessKey&Version=2021-03-04
Content-Type:application/json
{
    "ClusterID": "ucxxxxxxxxxxxxxxxxxxx",
    "AccessKeyID": "AKxxxxxxx",
    "SecretAccessKey": "xxxxxxxxx"
}

返回参数

返回示例

HTTP/1.1 200 OK
Content-Type:application/json
{
    "ResponseMetadata": {
        "RequestId": "202211302208xxxx",
        "Action": "UpdateAPIAccessKey",
        "Version": "2021-03-04",
        "Service": "bio",
        "Region": "cn-beijing"
    },
    "Result": {}
}

错误码

HTTP 状态码错误码错误信息描述
400ParamErr<透传错误内容>参数错误
500InternalErr<透传错误内容>内部错误