更新時間:2019-11-19
該接口提供注銷功能。服務器收到請求后,刪除該token。
請求方法 |
DELETE |
---|---|
請求地址 |
/rest/usg/sso/v1/token |
傳輸協(xié)議 |
HTTPS |
參數(shù) |
是否必須 |
類型 |
位置 |
描述 |
---|---|---|---|---|
Authorization |
是 |
String |
Header |
接口鑒權(quán)頭域。包括HTTP基本認證標識(Basic)和Base64編碼的Token字符串。 |
參數(shù) |
類型 |
描述 |
---|---|---|
returnCode |
String |
業(yè)務返回碼。 |
returnMessage |
String |
返回描述。 |
achievementTime |
String |
響應返回時間。 |
requestId |
String |
統(tǒng)一的請求ID。 |
DELETE /rest/usg/sso/v1/token Connection: keep-alive Authorization: Basic SE04OEpPT2pnWFB1Q2xCWkc5ZDY2TkhQYXdnZjVxNmVE Host: api.meeting.huaweicloud.com User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)
HTTP/1.1 200 Date: Wed, 27 Mar 2019 04:11:23 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 143 Connection: keep-alive { "returnCode": "000000000", "returnMessage": "Success", "achievementTime": "2019-03-27 04:10:34.903", "requestId": "04eb72115fdd4236886b240bf5576549" }
curl -k -i -X DELETE -H 'Authorization:Basic RllIRk1OMm9pckx1a21vNVNKRUlCYzdBU2xLcm9NVnlj' 'https://api.meeting.huaweicloud