调用SetMemberDeletionPermission开启或关闭成员删除许可。
接口说明
当开启成员删除许可后,才能删除资源账号类型的成员。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Status |
string |
是 |
开启或关闭成员删除许可。取值:
|
Enabled |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
C55A4CAA-9039-1DDF-91CE-FCC134513D29 |
| MemberDeletionStatus |
string |
成员删除许可状态。取值:
|
Enabled |
| ManagementAccountId |
string |
资源目录的管理账号 ID。 |
151266687691**** |
| ResourceDirectoryId |
string |
资源目录 ID。 |
rd-3G**** |
示例
正常返回示例
JSON格式
{
"RequestId": "C55A4CAA-9039-1DDF-91CE-FCC134513D29",
"MemberDeletionStatus": "Enabled",
"ManagementAccountId": "151266687691****",
"ResourceDirectoryId": "rd-3G****"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 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. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。