Queries the deletion status of a member in a resource directory.
Operation description
In this example, the deletion status of member 169946124551**** is queried. The response shows that the member has been successfully deleted.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcemanager:GetAccountDeletionStatus |
get |
*Account
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AccountId |
string |
Yes |
The Alibaba Cloud account ID of the member. |
169946124551**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RdAccountDeletionStatus |
object |
The deletion status of the member. |
|
| Status |
string |
The status. Valid values:
|
Success |
| AccountId |
string |
The Alibaba Cloud account ID of the member. |
169946124551**** |
| CreateTime |
string |
The start time of the deletion. |
2022-08-23T17:05:30+08:00 |
| DeletionTime |
string |
The end time of the deletion. |
2022-08-23T17:06:01+08:00 |
| FailReasonList |
array<object> |
The reasons why the member failed to be deleted. |
|
|
object |
The reasons why the member failed to be deleted. |
||
| Name |
string |
The name of the cloud service to which the check item belongs. |
Others |
| Description |
string |
The description of the check item. |
This account has a payer account. Please release the financial relationship of this account first. |
| DeletionType |
string |
The type of the deletion. Valid values:
|
0 |
| RequestId |
string |
The request ID. |
8AA43293-7C8F-5730-8F2D-7F864EC092C5 |
Examples
Success response
JSON format
{
"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 code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | EntityNotExists.Account | This resource directory account does not exist. | The specified member account does not exist. We recommend that you first create a member account. |
| 409 | EntityNotExists.CheckAccount | There is no check task for this account | No check task exists for the account. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.