更新時間:2019-11-20
企業(yè)管理員通過該接口批量刪除終端,返回刪除失敗的列表。
請求方法 |
POST |
---|---|
請求地址 |
/rest/usg/datacenter/v1/corp/device/delete |
傳輸協(xié)議 |
HTTPS |
參數(shù) |
是否必須 |
類型 |
位置 |
描述 |
---|---|---|---|---|
Authorization |
是 |
String |
Header |
授權令牌。將執(zhí)行鑒權響應的accessToken 樣例:Basic Base64(accessToken) |
delList |
是 |
String[0..*] |
Body |
終端序列號列表。 |
參數(shù) |
類型 |
描述 |
---|---|---|
returnCode |
String |
業(yè)務返回碼。 |
returnMessage |
String |
返回描述。 |
achievementTime |
String |
響應產(chǎn)生時間。 |
requestId |
String |
請求唯一標識。 |
POST /rest/usg/datacenter/v1/corp/device/delete Connection: keep-alive Authorization: Basic UXJ0SFVvcFgyTGdYYzVZam5TeXhOV1M2OVRXRnVDSzlX Content-Type: application/json Content-Length: 47 Host: api.meeting.huaweicloud.com User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191) ["MHAIOM2V44DGBGOBAK22","KEEVAA4UBWP6PTKSLWMW"]
HTTP/1.1 200 Date: Tue, 16 Apr 2019 06:16:43 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 143 Connection: keep-alive Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Server: api-gateway X-Request-Id: ec5243c4a685b158e66e8683942a8857 { "returnCode": "000000000", "returnMessage": "Success", "achievementTime": "2019-04-16 06:15:24.817", "requestId": "ec5243c4a685b158e66e8683942a8857" }
curl -k -i -H 'content-type: application/json' -X POST -H 'Authorization:Basic T3IxeXdMUGwzeU9Gb3JnWENNWWZldnBHM0JTQVA5N2FS' -d '["MHAIOM2V44DGBGOBAK22","KEEVAA4UBWP6PTKSLWMW"] ' https://api.meeting.huaweicloud.com/rest/usg/datacenter/v1/corp/device/delete