メンバーアカウントの削除機能を有効化または無効化します。
操作説明
リソースアカウント型のメンバーアカウントは、メンバーアカウント削除機能が有効化された場合にのみ削除可能です。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcemanager:SetMemberDeletionPermission |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Status |
string |
必須 |
メンバーアカウント削除機能の有効/無効を指定します。有効な値は以下のとおりです。
|
Enabled |
共通リクエストパラメーターの詳細については、「共通パラメーター」をご参照ください。
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID です。 |
C55A4CAA-9039-1DDF-91CE-FCC134513D29 |
| MemberDeletionStatus |
string |
メンバーアカウント削除機能のステータスです。有効な値は以下のとおりです。
|
Enabled |
| ManagementAccountId |
string |
リソースディレクトリの管理アカウントの ID です。 |
151266687691**** |
| ResourceDirectoryId |
string |
リソースディレクトリの ID です。 |
rd-3G**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "C55A4CAA-9039-1DDF-91CE-FCC134513D29",
"MemberDeletionStatus": "Enabled",
"ManagementAccountId": "151266687691****",
"ResourceDirectoryId": "rd-3G****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter.Status | The specified Status is invalid. | The specified Status is invalid. |
| 403 | MemberAccountAccessDenied | The member account is not allowed to perform the operation. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。