Enables or disables the member deletion feature.
Operation description
Resource account members can be deleted only after this feature is enabled.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Status |
string |
Yes |
Whether to enable the member deletion feature. Valid values:
|
Enabled |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
C55A4CAA-9039-1DDF-91CE-FCC134513D29 |
| MemberDeletionStatus |
string |
The status of the member deletion feature. Valid values:
|
Enabled |
| ManagementAccountId |
string |
The management account ID of the resource directory. |
151266687691**** |
| ResourceDirectoryId |
string |
The resource directory ID. |
rd-3G**** |
Examples
Success response
JSON format
{
"RequestId": "C55A4CAA-9039-1DDF-91CE-FCC134513D29",
"MemberDeletionStatus": "Enabled",
"ManagementAccountId": "151266687691****",
"ResourceDirectoryId": "rd-3G****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.Status | 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.