メンバーの削除チェックを実行します。
操作説明
メンバーを削除する前に、この API 操作を呼び出して、メンバーが削除可能かどうかをチェックする必要があります。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AccountId |
string |
必須 |
削除するメンバーの Alibaba Cloud アカウント ID。 |
179855839641**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返された結果。 |
||
| RequestId |
string |
リクエスト ID。 |
7CDDDCEF-CDFD-0825-B7D7-217BE0897B22 |
例
成功レスポンス
JSONJSON
{
"RequestId": "7CDDDCEF-CDFD-0825-B7D7-217BE0897B22"
}
エラーコード
|
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 | InvalidControlPolicyEnablementStatus | The control policy enablement status is not valid to perform this operation. | |
| 409 | NoLicense.ResourceDirectory | The resource directory has not enabled the delete operation. | |
| 409 | UnknownError.Account | The deletion failed. An unknown error occurred. Please try again later. | |
| 409 | CallerIdentityError.DeleteAccount | Please use the RAM user or role of the management account to delete. | |
| 409 | RemoveConfilctAccountAsDelegatedAdministator | You attempted to remove a member that is registered as a delegated administrator. To complete this operation, you must first deregister this account as a delegated administrator. | |
| 409 | LegalEntityDifferent | The account legal entity is different from the one of the Management Account. | |
| 409 | MemberTypeError.DeleteAccount | You can only delete accounts of the resource account type created by Resource Directory. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。