Queries the deletion status of a member account.
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 member account ID. |
169946124551**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RdAccountDeletionStatus |
object |
The deletion status of the member account. |
|
| Status |
string |
The status. Valid values:
|
Success |
| AccountId |
string |
The member account ID. |
169946124551**** |
| CreateTime |
string |
The time when the deletion started. The time is in ISO 8601 format and includes a time zone offset (for example, +08:00). |
2022-08-23T17:05:30+08:00 |
| DeletionTime |
string |
The time when the deletion ended. The time is in ISO 8601 format and includes a time zone offset (for example, +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 member does not exist. Create such a member first. |
| 409 | EntityNotExists.CheckAccount | There is no check task for this account |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.