查询账号组列表
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | ListAccountGroups | 要执行的操作,取值:ListAccountGroups。 |
Version | String | 是 | 2025-01-01 | API的版本,取值:2025-01-01。 |
AccountGroupIds | Array of String | 否 | 账号组 ID | |
NextToken | String | 否 | 翻页 Token | |
MaxResults | Integer | 否 | 返回每页的行数 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
AccountGroups | Array of Object | AccountGroups | |
NextToken | String | NextToken |
POST /?Action=ListAccountGroups&Version=2025-01-01 HTTP/1.1 Host: config.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20251117T063344Z 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 {}
{ "ResponseMetadata": { "RequestId": "202511171433500721301680444F9968", "Action": "ListAccountGroups", "Version": "2025-01-01", "Service": "config", "Region": "cn-beijing" }, "Result": { "AccountGroups": [ { "AccountGroupId": "a9e592ea-ebe1-4bde-8b6a-fdbd2ee7015e", "GroupName": "账号组名称", "GroupType": "Org", "CreatedTime": "2025-11-17T14:23:58+08:00", "Status": "Enabled" } ], "NextToken": "" } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
|---|---|---|
500 | InternalError |