All Products
Search
Document Center

Resource Management:GetAccountDeletionStatus

更新時間:Jun 25, 2024

Queries the deletion status of a member.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AccountIdstringYes

The Alibaba Cloud account ID of the member.

169946124551****

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RdAccountDeletionStatusobject

The deletion status of the member.

Statusstring

The status. Valid values:

  • Success: The member is deleted.
  • Checking: A deletion check is being performed for the member.
  • Deleting: The member is being deleted.
  • CheckFailed: The deletion check for the member fails.
  • DeleteFailed: The member fails to be deleted.
Success
AccountIdstring

The Alibaba Cloud account ID of the member.

169946124551****
CreateTimestring

The start time of the deletion.

2022-08-23T17:05:30+08:00
DeletionTimestring

The end time of the deletion.

2022-08-23T17:06:01+08:00
FailReasonListobject []

The reasons why the member fails to be deleted.

Namestring

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

Others
Descriptionstring

The description of the check item.

This account has a payer account. Please release the financial relationship of this account first.
DeletionTypestring

The type of the deletion. Valid values:

  • 0: direct deletion. If the member does not have pay-as-you-go resources that are purchased within the previous 30 days, the system directly deletes the member.
  • 1: deletion with a silence period. If the member has pay-as-you-go resources that are purchased within the previous 30 days, the member enters a silence period of 45 days. The system starts to delete the member until the silence period ends. For more information about the silence period, see What is the silence period for member deletion?
0
RequestIdstring

The ID of the request.

8AA43293-7C8F-5730-8F2D-7F864EC092C5

Examples

Sample success responses

JSONformat

{
  "RdAccountDeletionStatus": {
    "Status": "Success",
    "AccountId": "169946124551****",
    "CreateTime": "2022-08-23T17:05:30+08:00",
    "DeletionTime": "2022-08-23T17:06:01+08:00",
    "FailReasonList": [
      {
        "Name": "Others",
        "Description": "This account has a payer account. Please release the financial relationship of this account first."
      }
    ],
    "DeletionType": "0"
  },
  "RequestId": "8AA43293-7C8F-5730-8F2D-7F864EC092C5"
}

Error codes

HTTP status codeError codeError messageDescription
404EntityNotExists.AccountThis resource directory account does not exist.The member does not exist. Create such a member first.
409EntityNotExists.CheckAccountThere is no check task for this account-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history