クラウドアカウント型のメンバーを削除します。クラウドアカウント型のメンバーを削除すると、そのメンバーは所属していたリソースディレクトリの管理アカウントによる管理対象から除外されます。
操作説明
このトピックでは、リソースディレクトリからメンバー 177242285274**** を削除する API オペレーションの呼び出し例を示します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcemanager:RemoveCloudAccount |
delete |
*Account
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AccountId |
string |
必須 |
メンバーの ID です。 |
177242285274**** |
共通リクエストパラメーターの詳細については、「共通パラメーター」をご参照ください。
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID です。 |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
例
成功レスポンス
JSONJSON
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingParameter.AccountId | You must specify AccountId. | |
| 400 | InvalidParameter.AccountId | The AccountId is invalid. | 指定された Alibaba Cloud アカウント ID は無効です。 アカウント ID は 16 桁の英数字です。 |
| 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. | 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. | You cannot perform the action on the member account. |
| 409 | Deny.TrustedService | You attempted to remove an account that is used in %s. To complete this operation, you must first remove this account from the Trusted Service. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。