調用RevokeToken介面吊銷Token。
介面說明
單使用者請求頻率限制為 5 次/秒。請聯絡雲Message QueueTT 版支援人員,DingTalk群號:35228338。
每成功調用一次 RevokeToken 介面,都會計算為一次訊息 TPS,從而影響您的計費。計費詳情,請參見計費說明。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
mq:RevokeToken |
delete |
*Instance
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Token |
string |
是 |
您需要吊銷的 Token。 |
LzMT+XLFl5s/YWJ/MlDz4t/Lq5HC1iGU1P28HAMaxYxn8aQbALNtml7QZKl9L9kPe6LqUb95tEVo+zUqOogs9+jZwDUSzsd4X4qaD3n2TrBEuMOqKkk1Xdrvu9VBQQvIYbz7MJWZDYC3DlW7gLEr33Cuj54iIhagtBi3epStJitsssWs7otY9zhKOSZxhr49G3d0bh35mwyP18EMvDas8UlzeSozsSrujNUqZXOGK0PEBSd+rWMGDJlCt6GFmJgm2JFY7PJwf/7OOSmUYIYFs5o/PuPpoTMF+hcVXMs+0yDukIMTOzG9m3t8k36PVrghFmnK6pC3Rt3mibjW****ng== |
| InstanceId |
string |
是 |
雲Message QueueTT 版執行個體的 ID,一定要和用戶端實際使用的執行個體 ID 匹配。該執行個體 ID 在控制台執行個體詳情頁面擷取。 |
post-cn-0pp12gl**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
公用參數,每個請求的 ID 都是唯一的。 |
833EDFCB-C447-4CE3-B21F-3A4C2D1B**** |
樣本
正常返回樣本
JSON格式
{
"RequestId": "833EDFCB-C447-4CE3-B21F-3A4C2D1B****"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | CheckAccountInfoFailed | An error occurred while checking the account information by the STS token. | |
| 400 | InstancePermissionCheckFailed | An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. | |
| 400 | ParameterCheckFailed | An error occurred while validating the parameters. The parameters may be missing or invalid. | |
| 400 | PermissionCheckFailed | An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings. | |
| 400 | RevokeTokenOverFlow | You have revoked tokens too many times. Please try again later. | |
| 400 | InvalidParameter.%s | An error occurred while validating the parameter. The parameter may be missing or invalid. | |
| 500 | InternalError | An error occurred while processing your request. Try again later. | |
| 500 | SystemOverFlow | An error occurred while processing your request. Please try again. | |
| 404 | ApiNotSupport | The specified API is not supported. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。