調用GetAccountDeletionCheckResult查詢成員刪除檢查結果。
接口說明
在您調用 CheckAccountDelete 執行了成員刪除檢查任務后,您可以調用 GetAccountDeletionCheckResult 查詢成員刪除檢查的結果。如果符合刪除檢查要求,則該成員允許刪除;否則,請手動處理不符合項,直至符合要求為止。
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權信息
當前API暫無授權信息透出。
請求參數
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
AccountId | string | 是 | 待刪除成員的 ID。 | 179855839641**** |
返回參數
示例
正常返回示例
JSON
格式
{
"RequestId": "54AC391D-4F7F-5F08-B8D3-0AECDE6EC5BD",
"AccountDeletionCheckResultInfo": {
"Status": "PreCheckComplete",
"AllowDelete": "false",
"NotAllowReason": [
{
"Description": "This account is an Enterprise Finance associated account. Please remove the financial association of this account before deleting it.",
"CheckId": "NON_SP_efc",
"CheckName": "Enterprise finance"
}
],
"AbandonableChecks": [
{
"Description": "存在云產品實例運行,請聯系客服人員提工單處理。",
"CheckId": "NON_SP_cs",
"CheckName": "容器服務"
}
]
}
}
錯誤碼
HTTP status code | 錯誤碼 | 錯誤信息 | 描述 |
---|---|---|---|
400 | MissingParameter.AccountId | You must specify AccountId. | AccountId不能為空。 |
400 | InvalidParameter.AccountId | The AccountId is invalid. | 成員ID無效,請輸入16位賬號ID。 |
404 | EntityNotExists.Account | This resource directory account does not exist. | 成員不存在,請先創建成員。 |
404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. | 當前賬號未啟用資源目錄,請先啟用資源目錄。 |
409 | AccountTypeOrStatusMismatch | You cannot perform the action on the member account. | 成員類型或狀態不匹配。 |
409 | EntityNotExists.CheckAccount | There is no check task for this account | - |
409 | UnknownError.Account | The deletion failed. An unknown error occurred. Please try again later. | 刪除失敗。未知錯誤,請稍后重試。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
變更時間 | 變更內容概要 | 操作 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2023-04-27 | OpenAPI 錯誤碼發生變更 | 看變更集 | ||||||||
|