リソースアカウントタイプのメンバーを削除します。
操作説明
メンバーを削除する前に、CheckAccountDelete および GetAccountDeletionCheckResult 操作を呼び出して、メンバーが削除要件を満たしているかどうかを確認することを推奨します。 削除要件を満たすメンバーのみ、DeleteAccount 操作を呼び出して削除できます。
メンバーの削除リクエストを送信した後、GetAccountDeletionStatus 操作を呼び出して、メンバーの削除ステータスをクエリできます。 メンバーが削除されると、メンバー内のリソースとデータは削除され、そのメンバーを使用して Alibaba Cloud 管理コンソールにログインすることはできなくなります。 また、メンバーは回復できません。 注意して操作してください。 メンバーの削除方法の詳細については、「リソースアカウントタイプのメンバーの削除」をご参照ください。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AccountId |
string |
必須 |
削除するメンバーの Alibaba Cloud アカウント ID。 |
169946124551**** |
| AbandonableCheckId |
array |
任意 |
メンバー削除時に無視できるチェック項目の ID。 ID は GetAccountDeletionCheckResult 操作の応答から取得できます。 |
|
|
string |
任意 |
メンバー削除時に無視できるチェック項目の ID。 ID は GetAccountDeletionCheckResult 操作の応答から取得できます。 |
NON_SP_cs |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返された結果。 |
||
| RequestId |
string |
リクエストの ID。 |
009429F8-C1C0-5872-B674-A6C2333B9647 |
| DeletionType |
string |
削除のタイプ。 有効値:
|
0 |
例
成功レスポンス
JSONJSON
{
"RequestId": "009429F8-C1C0-5872-B674-A6C2333B9647",
"DeletionType": "0"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingParameter.AccountId | You must specify AccountId. | |
| 400 | InvalidParameter.AccountId | The AccountId is invalid. | |
| 404 | EntityNotExists.Account | This resource directory account does not exist. | |
| 404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. | |
| 409 | AccountTypeOrStatusMismatch | You cannot perform the action on the member account. | |
| 409 | NoLicense.ResourceDirectory | The resource directory has not enabled the delete operation. | |
| 409 | UnknownError.Account | Delete failed. An unknown error occurred. Please try again later. | |
| 409 | AccountNotExist.DeleteAccount | The deletion failed. The account does not exist. Please confirm whether it has been deleted. | |
| 409 | ExistProcessingDeleteFlow.DeleteAccount | The request is invalid. The account is already in the process of deletion. Please do not repeat the operation. | |
| 409 | CreditControlBlock.DeleteAccount | The deletion failed. There are unsettled bills in the current account. Please settle them first and try again. | |
| 409 | SpBlock.DeleteAccount | The deletion failed. There is a specific product under the current account. Please clear it and try again. | |
| 409 | PeripheralError.DeleteAccount | The deletion failed. The deletion process is abnormal. Please try again later. | |
| 409 | MemberTypeError.DeleteAccount | Cloud account type members do not support deletion. | |
| 409 | CallerIdentityError.DeleteAccount | Please use the RAM user or role of the management account to delete. | |
| 409 | ExistPrepaidInstance.DeleteAccount | The deletion failed. There are prepaid products under the current account. Please release them and try again. | |
| 409 | ForbidDelete.Account | Delete is prohibited. The current account is abnormal. Please contact customer service. | |
| 409 | QuotaExceeded.DeleteAccount | You have exceeded delete account quota for the past 30 days. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。