更新时间:2019-11-20
通过该接口修改企业管理员。
请求方法 |
PUT |
---|---|
请求地址 |
/rest/usg/datacenter/v1/corp/admin/{account} |
传输协议 |
HTTPS |
参数 |
是否必须 |
类型 |
位置 |
描述 |
---|---|---|---|---|
Authorization |
是 |
String |
Header |
授权令牌。将执行鉴权响应的accessToken进行Base64转码操作。 样例:Basic Base64(accessToken) |
account |
是 |
String |
URL |
企业account账号。 |
menuTemplateId |
否 |
String |
Body |
菜单模板id,若不携带或为"",则使用默认的菜单模板。 长度:0-32。 |
参数 |
类型 |
描述 |
---|---|---|
returnCode |
String |
业务返回码。 |
returnDesc |
String |
返回描述。 |
achievementTime |
String |
响应产生时间。 |
requestId |
String |
请求唯一标识。 |
PUT /rest/usg/datacenter/v1/corp/admin/user001 Connection: keep-alive Authorization: Basic dVZ5cDdBZG5xdzNlOWRqVUo1ckMyZFptaDZDSzhPYWlQ content-type: application/json user-agent: WeLink-desktop Content-Length: 29 Host: api.meeting.huaweicloud.com User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191) { "menuTemplateId": "" }
HTTP/1.1 200 Date: Fri, 12 Apr 2019 07:13:00 GMT Content-Type: application/json;charset=UTF-8 Connection: keep-alive Pragma: No-cache Cache-Control: no-cache Server: api-gateway X-Request-Id: efd3e53b2d9fa554d11267d5d66ca0bf { "returnCode": "000000000", "returnMessage": "Success", "achievementTime": "2019-04-12 07:13:00.563", "requestId": "f6ea66fd501a65f5d309b76345d3d150" }
curl -k -i -H 'content-type: application/json' -X PUT -H 'Authorization: Basic VUVwVU82SWFISU0ySWlKaEdoRllRUXk0MUZnbk00Mkpk' -d '{"menuTemplateId": ""}' https://api.meeting.huaweicloud.com/rest/usg/datacenter/v1/corp/admin/user001