调用RemoveCloudAccount移除云账号类型的成员。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
resourcemanager:RemoveCloudAccount |
delete |
*Account
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AccountId |
string |
是 |
待移除的云账号类型成员 ID。 |
177242285274**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
示例
正常返回示例
JSON格式
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | MissingParameter.AccountId | You must specify AccountId. | AccountId不能为空。 |
| 400 | InvalidParameter.AccountId | The AccountId is invalid. | 成员ID无效,请输入16位账号ID。 |
| 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 | 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. | 当前账号被用于%s可信服务中,请先将此账号从可信服务中解除使用。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?