移除账号组人员
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | DisassociateAccountGroupPrincipals | 要执行的操作,取值:DisassociateAccountGroupPrincipals。 |
Version | String | 是 | 2025-01-01 | API的版本,取值:2025-01-01。 |
AccountGroupId | String | 是 | 账号组 ID | |
Principals | Array of String | 是 | 账号组成员对象主体 |
本接口无特有的返回参数。更多信息请见返回结构。
POST /?Action=DisassociateAccountGroupPrincipals&Version=2025-01-01 HTTP/1.1 Host: config.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20251117T062646Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251117/cn-beijing/config/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "AccountGroupId": "a9e592ea-ebe1-4bde-8b6a-fdbd2ee7015e", "Principals": [ "123" ] }
{ "ResponseMetadata": { "RequestId": "20251117142709032209140035EEC637", "Action": "DisassociateAccountGroupPrincipals", "Version": "2025-01-01", "Service": "config", "Region": "cn-beijing" } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
|---|---|---|
400 | InvalidParameter | |
400 | ConcurrentException | |
400 | ServiceNotEnabled | 服务处于非开启状态时,禁止执行该操作 |
400 | NotFound.AccountGroup | |
403 | AccessDenied | |
500 | InternalError |