Queries the deletion status of a member account.
Operation description
This topic provides an example on how to query the deletion status of the member account 169946124551****. The response shows that the member account 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 ID of the member account. |
169946124551**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RdAccountDeletionStatus |
object |
The deletion status of the member account. |
|
| Status |
string |
The status. Valid values:
|
Success |
| AccountId |
string |
The ID of the member account. |
169946124551**** |
| CreateTime |
string |
The time when the deletion started, in RFC 3339 format with a UTC offset of +08:00. |
2022-08-23T17:05:30+08:00 |
| DeletionTime |
string |
The time when the deletion ended, in RFC 3339 format with a UTC offset of +08:00. |
2022-08-23T17:06:01+08:00 |
| FailReasonList |
array<object> |
The reasons for the deletion failure. |
|
|
object |
The reasons for the deletion failure. |
||
| Name |
string |
The service 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 deletion type. 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.