更新三方应用的应用配置。
操作类型:PUT
URL:https://{ip}:{port}/icscertmgnt/v1/subject/application/update
参数 |
是否必选 |
说明 |
取值要求 |
---|---|---|---|
applicationConfigName |
必选 |
配置名称,不可修改。 |
匹配正则表达式“^[0-9a-zA-Z-]{1,}$”,总长不超过128个字符的字符串。 |
endpoint |
必选 |
访问地址。 |
满足入参匹配正则表达式访问地址,总长不超过256个字符的字符串。 |
accesskey |
可选 |
用户名。 |
匹配正则表达式“^[0-9a-zA-Z-]{1,}$”,总长不超过128个字符的字符串。 |
secretkey |
可选 |
密码。 |
匹配正则表达式“^[0-9a-zA-Z-]{1,}$”,总长不超过128个字符的字符串。 |
httpsEnable |
必选 |
https开关使能。 |
|
请求样例:
PUT https://10.44.115.99:8101/icscertmgnt/v1/subject/application/update
{ "applicationConfigName": "minioconfig1", "endpoint": "www.xxxxx.xx", "httpsEnable":"disable" "accesskey": "www", "secretkey": "xxxx", }
{ "status": "00000000", "msg": "update application config success !" }
响应状态码:200
参数 |
类型 |
说明 |
---|---|---|
status |
string |
状态码,详情见错误码章节。 |
msg |
string |
状态描述。 |