吊銷已啟用的用戶端認證。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
esa:RevokeClientCertificate |
update |
*Site
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| SiteId |
integer |
是 |
網站 ID。 |
1234567890123 |
| Id |
string |
是 |
認證 ID。 |
baba39055622c008b90285a8838ed09a |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| SiteId |
integer |
網站 ID。 |
1234567890123 |
| SiteName |
string |
網站名稱。 |
example.com |
| Id |
string |
認證 ID。 |
baba39055622c008b90285a8838ed09a |
| RequestId |
string |
請求 ID。 |
15C66C7B-671A-4297-9187-2C4477247A123425345 |
樣本
正常返回樣本
JSON格式
{
"SiteId": 1234567890123,
"SiteName": "example.com\n",
"Id": "baba39055622c008b90285a8838ed09a",
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A123425345"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Certificate.StatusError | The status of the certificate is invalid. | 認證狀態錯誤。 |
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | 缺少必填參數SiteId,請指定SiteId參數後重試。 |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 調用服務失敗,請稍後重試或聯絡客服諮詢詳情。 |
| 400 | Id.MissingParameter | The parameter Id is required. | 缺少必填參數Id。 |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | 您輸入的鑒權時間參數無效,請檢查參數值後重試。 |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | 您輸入的token無效,請檢查並輸入正確的token後進行重試。 |
| 404 | Certificate.NotFound | The specified certificate does not exist. | 指定的認證不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。