调用GetAccountDeletionCheckResult查询成员删除检查结果。
接口说明
在您调用 CheckAccountDelete 执行了成员删除检查任务后,您可以调用 GetAccountDeletionCheckResult 查询成员删除检查的结果。如果符合删除检查要求,则该成员允许删除;否则,请手动处理不符合项,直至符合要求为止。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AccountId |
string |
是 |
待删除成员的 ID。 |
179855839641**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
54AC391D-4F7F-5F08-B8D3-0AECDE6EC5BD |
| AccountDeletionCheckResultInfo |
object |
成员删除检查结果。 |
|
| Status |
string |
检查状态。取值:
|
PreCheckComplete |
| AllowDelete |
string |
是否允许删除。取值:
|
false |
| NotAllowReason |
array<object> |
不允许删除的原因。 说明
当 AllowDelete 为 false 时,返回该参数值。 |
|
|
object |
不允许删除的原因。 说明
当 AllowDelete 为 false 时,返回该参数值。 |
||
| Description |
string |
检查项描述。 |
This account is an Enterprise Finance associated account. Please remove the financial association of this account before deleting it. |
| CheckId |
string |
检查项 ID。 |
NON_SP_efc |
| CheckName |
string |
检查项所属的云服务名称。 |
Enterprise finance |
| AbandonableChecks |
array<object> |
您可以选择放弃并继续执行成员删除的检查项。 说明
当 AllowDelete 为 true 时,可能返回该参数值。 |
|
|
object |
您可以选择放弃并继续执行成员删除的检查项。 说明
当 AllowDelete 为 true 时,可能返回该参数值。 |
||
| Description |
string |
检查项描述。 |
存在云产品实例运行,请联系客服人员提工单处理。 |
| CheckId |
string |
检查项 ID。 |
NON_SP_cs |
| CheckName |
string |
检查项所属的云服务名称。 |
容器服务 |
示例
正常返回示例
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. | |
| 400 | InvalidParameter.AccountId | The AccountId is invalid. | |
| 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. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。