
# 查询治理成熟度的账号详情 - ShowBestPracticeAccountInfo
#### 功能介绍
查询治理成熟度的账号详情。
#### 授权信息
账号根用户具备所有API的调用权限，如果使用账号下的IAM用户调用当前API，该IAM用户需具备如下身份策略权限，更多的权限说明请参见[权限和授权项](https://support.huaweicloud.com/api-rgc/rgc_02_0016.html)。
| 授权项                         | 访问级别 | 资源类型（\*为必须） | 条件键 | 别名 | 依赖的授权项 |
|:---|:---|:---|:---|:---|:---|
| rgc:bestPractice:getAccount | Read | -           | -   | -  | -      |
   
#### URI
GET /v1/best-practice/account-info
#### 请求参数
无
#### 响应参数
**状态码：200**
表1响应Body参数 
| 参数                        | 参数类型   | 描述     |
|:---|:---|:---|
| account_type              | String | 账号类型   |
| effective_start_time      | String | 有效开始时间 |
| effective_expiration_time | String | 有效过期时间 |
| current_time              | String | 当前时间   |
   
**状态码：403**
表2响应Body参数 
| 参数                            | 参数类型                                                                                                 | 描述           |
|:---|:---|:---|
| error_code                    | String                                                                                               | 错误码          |
| error_msg                     | String                                                                                               | 错误信息         |
| request_id                    | String                                                                                               | 请求唯一标识       |
| encoded_authorization_message | String                                                                                               | 加密的错误信息      |
| details                       | Array of [ForbiddenErrorDetail] objects | 跨服务调用无权限错误信息 |
   
 表3ForbiddenErrorDetail 
| 参数         | 参数类型   | 描述   |
|:---|:---|:---|
| error_code | String | 错误码  |
| error_msg  | String | 错误信息 |
   
#### 请求示例
查询治理成熟度的账号详情。
```
GET https://{endpoint}/v1/best-practice/account-info
```
#### 响应示例
**状态码：200**
请求成功。
```
{
  "account_type" : "Maximum_Premium",
  "effective_start_time" : "2024-12-05T11:11:54.608Z",
  "effective_expiration_time" : "2025-12-05T11:11:54.608Z",
  "current_time" : "2025-08-14T09:18:19.966Z"
}
```
#### 状态码
| 状态码 | 描述     |
|:---|:---|
| 200 | 请求成功。  |
| 403 | 请求无权限。 |
   
#### 错误码
请参见[错误码](https://support.huaweicloud.com/api-rgc/ErrorCode.html)。
