すべてのプロダクト
Search
ドキュメントセンター

:DeleteAccount

最終更新日:Dec 21, 2025

リソースアカウントタイプのメンバーを削除します。

操作説明

メンバーを削除する前に、CheckAccountDelete および GetAccountDeletionCheckResult 操作を呼び出して、メンバーが削除要件を満たしているかどうかを確認することを推奨します。 削除要件を満たすメンバーのみ、DeleteAccount 操作を呼び出して削除できます。

メンバーの削除リクエストを送信した後、GetAccountDeletionStatus 操作を呼び出して、メンバーの削除ステータスをクエリできます。 メンバーが削除されると、メンバー内のリソースとデータは削除され、そのメンバーを使用して Alibaba Cloud 管理コンソールにログインすることはできなくなります。 また、メンバーは回復できません。 注意して操作してください。 メンバーの削除方法の詳細については、「リソースアカウントタイプのメンバーの削除」をご参照ください。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

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:直接削除。 メンバーが過去 30 日以内に購入した従量課金リソースを持っていない場合、システムはメンバーを直接削除します。

  • 1:サイレント期間付きの削除。 メンバーが過去 30 日以内に購入した従量課金リソースを持っている場合、メンバーはサイレント期間に入ります。 システムは、サイレント期間が終了するまでメンバーの削除を開始しません。 サイレント期間の詳細については、「メンバー削除のサイレント期間とは」をご参照ください。

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.

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。