Queries the deletion status of a member.
Usage notes
This topic provides an example on how to call the API operation to query the deletion status of the member whose Alibaba Cloud account ID is 169946124551****
. The response shows that the member is deleted.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetAccountDeletionStatus | The operation that you want to perform. Set the value to GetAccountDeletionStatus. |
AccountId | String | Yes | 169946124551**** | The Alibaba Cloud account ID of the member. |
For more information about common request parameters, see Common parameters.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RdAccountDeletionStatus | Object | The deletion status of the member. |
|
Status | String | Success | The status. Valid values:
|
AccountId | String | 169946124551**** | The Alibaba Cloud account ID of the member. |
CreateTime | String | 2022-08-23T17:05:30+08:00 | The start time of the deletion. |
DeletionTime | String | 2022-08-23T17:06:01+08:00 | The end time of the deletion. |
FailReasonList | Array of failReasonList | The reasons why the member fails to be deleted. |
|
Name | String | Others | The name of the cloud service to which the check item belongs. |
Description | String | This account has a payer account. Please release the financial relationship of this account first. | The description of the check item. |
DeletionType | String | 0 | The type of the deletion. Valid values:
|
RequestId | String | 8AA43293-7C8F-5730-8F2D-7F864EC092C5 | The ID of the request. |
Examples
Sample requests
https://resourcemanager.aliyuncs.com/?Action=GetAccountDeletionStatus
&AccountId=169946124551****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<GetAccountDeletionStatusResponse>
<RequestId>8AA43293-7C8F-5730-8F2D-7F864EC092C5</RequestId>
<RdAccountDeletionStatus>
<Status>Success</Status>
<AccountId>169946124551****</AccountId>
<DeletionType>0</DeletionType>
<CreateTime>2022-08-23T17:05:30+08:00</CreateTime>
<DeletionTime>2022-08-23T17:06:01+08:00</DeletionTime>
</RdAccountDeletionStatus>
</GetAccountDeletionStatusResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "8AA43293-7C8F-5730-8F2D-7F864EC092C5",
"RdAccountDeletionStatus" : {
"Status" : "Success",
"AccountId" : "169946124551****",
"FailReasonList" : [ ],
"DeletionType" : 0,
"CreateTime" : "2022-08-23T17:05:30+08:00",
"DeletionTime" : "2022-08-23T17:06:01+08:00"
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | EntityNotExists.Account | This resource directory account does not exist. | The error message returned because the member does not exist. Create such a member first. |
409 | EntityNotExists.CheckAccount | There is no check task for this account | The error message returned because no deletion check is performed for the current account. |
For a list of error codes, see Service error codes.