All Products
Search
Document Center

Resource Management:GetAccountDeletionCheckResult

Last Updated:Aug 28, 2026

Queries the result of a member deletion check.

Operation description

After you call the CheckAccountDelete operation to perform a member deletion check, call this operation to query the check result. If the member meets the deletion requirements, you can proceed to delete it. Otherwise, modify the items that do not meet the requirements first.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

AccountId

string

Yes

The Alibaba Cloud account ID of the member that you want to delete.

179855839641****

Response elements

Element

Type

Description

Example

object

The returned result.

RequestId

string

The request ID.

54AC391D-4F7F-5F08-B8D3-0AECDE6EC5BD

AccountDeletionCheckResultInfo

object

The deletion check result for the member.

Status

string

The status of the check. Valid values:

  • PreCheckComplete: The check is complete.

  • PreChecking: The check is in progress.

PreCheckComplete

AllowDelete

string

Indicates whether the member can be deleted. Valid values:

  • true: The member can be deleted.

  • false: The member cannot be deleted.

false

NotAllowReason

array<object>

The reasons why the member cannot be deleted.

Note

This parameter is returned only if the value of AllowDelete is false.

object

A reason why the member cannot be deleted.

Note

This parameter is returned only if the value of AllowDelete is false.

Description

string

The description of the check item.

This account is an Enterprise Finance associated account. Please remove the financial association of this account before deleting it.

CheckId

string

The ID of the check item.

NON_SP_efc

CheckName

string

The name of the cloud service to which the check item belongs.

Enterprise finance

AbandonableChecks

array<object>

The check items that can be ignored for member deletion.

Note

This parameter may be returned if the value of AllowDelete is true.

object

A check item that can be ignored for member deletion.

Note

This parameter may be returned if the value of AllowDelete is true.

Description

string

The description of the check item.

An instance of a cloud service is running within the member. Submit a ticket to contact Alibaba Cloud technical support.

CheckId

string

The ID of the check item.

NON_SP_cs

CheckName

string

The name of the cloud service to which the check item belongs.

Container Service for Kubernetes

Examples

Success response

JSON format

{
  "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": "An instance of a cloud service is running within the member. Submit a ticket to contact Alibaba Cloud technical support.\n",
        "CheckId": "NON_SP_cs",
        "CheckName": "Container Service for Kubernetes\n"
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

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.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.