{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"UpdateAKSKRequestBody":{"properties":{"description":{"description":"凭证描述,不填为空。可填字符串最大长度为500。","type":"string"},"name":{"description":"凭证名称。长度为1位到32位之间,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符。","type":"string"}}},"UpdateResponse":{"properties":{"result":{"description":"处理成功时返回","example":"success","type":"string"}}}},"description":null,"group_id":"5346b7c1dc284228a28795d5bcbd550d","host":"vis.cn-north-4.myhuaweicloud.com","id":"7297a168a21d47a1b0128633ef800d44","info_version":"v1","method":"put","name":"UpdateAksk","parameters":{"Authorization":{"description":"使用AK/SK方式认证时必选,携带的鉴权信息。","in":"header","maxLength":256,"minLength":1,"name":"Authorization","required":false,"type":"string","x-example":"SDK-HMAC-SHA256 Access=xxx, SignedHeaders=content-type;host;x-sdk-date, Signature=xxx"},"X-Auth-Token":{"description":"普通租户的token。","in":"header","maxLength":10240,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string"},"X-Project-Id":{"description":"使用AK/SK方式认证时必选,携带项目ID信息。","in":"header","maxLength":64,"minLength":1,"name":"X-Project-Id","required":false,"type":"string","x-example":"70b76xxxxxx34253880af501cdxxxxxx"},"X-Sdk-Date":{"description":"使用AK/SK方式认证时必选,请求的发生时间。","in":"header","maxLength":256,"minLength":1,"name":"X-Sdk-Date","required":false,"type":"string","x-example":"20191115T033655Z"},"project_id":{"description":"项目ID,获取方法请参考[获取项目ID](https://support.huaweicloud.com/api-vis/vis_03_0005.html)","in":"path","maxLength":32,"minLength":32,"name":"project_id","required":true,"type":"string"}},"paths":{"/v1/{project_id}/credentials/aksks/{access_key}":{"put":{"consumes":[],"deprecated":false,"description":"该接口用于更新AK/SK凭证,AK/SK用于RTMP推流的鉴权","operationId":"UpdateAksk","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/Authorization"},{"$ref":"#/parameters/X-Sdk-Date"},{"$ref":"#/parameters/X-Project-Id"},{"description":"凭证AK","in":"path","name":"access_key","required":true,"type":"string","x-example":"ALKJOWLKJSDNFGO******KSJDF"},{"description":"更新AKSK凭证","in":"body","name":"UpdateAKSK","required":false,"schema":{"$ref":"#/definitions/UpdateAKSKRequestBody"}}],"produces":[],"responses":{"204":{"description":"正常","examples":{"application/json":{"result":"success"}},"schema":{"$ref":"#/definitions/UpdateResponse"}},"400":{"description":"请求错误","examples":{"application/json":{"error_code":"VIS.0005","error_msg":"Invalid request parameter, Pattern of access_key is invalid."}}}},"summary":"更新AK/SK凭证","tags":["凭证管理"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-name":"更新AKSK凭证","x-request-examples-url-1":"Put /v1/6204a5bd270343b5885144cf9c8c158d/credentials/aksks/aksk_1","x-support-sdk":"Y"}}},"product_short":"VIS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"更新AK/SK凭证","tags":"凭证管理","uri":null,"version":"2.0"}