文档首页/ 组织 Organizations/ API参考/ API/ FeatureInternal/ 列出指定账号所有特性状态
更新时间:2024-09-06 GMT+08:00
分享

列出指定账号所有特性状态

功能介绍

列出指定账号所有特性状态。

调试

您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。

URI

GET /v1/internal/features

表1 Query参数

参数

是否必选

参数类型

描述

account_id

Object

账号的唯一标识符(ID)。

请求参数

响应参数

状态码: 200

表2 响应Body参数

参数

参数类型

描述

user_features

Array of UserFeature objects

The feature application object of the ListUserFeatures operation.

数组长度:1 - 200

表3 UserFeature

参数

参数类型

描述

account_id

String

The unique identifier (ID) of an account.

feature_name

String

特性名称。 region_deny:区域禁用

feature_status

String

特性状态。 on:启用 off: 关闭

created_at

String

创建时间。

updated_at

String

更新时间。

请求示例

列出指定账号所有特性状态。

GET https://{hostname}/v1/internal/features

响应示例

状态码: 200

Successful

{
  "user_features" : [ {
    "account_id" : "abc4fcec974c4ee88fa60d6438e49a7c",
    "feature_name" : "region_deny",
    "feature_status" : true,
    "created_at" : "2024-06-04T03:48:18.883Z",
    "updated_at" : "2024-06-04T03:48:18.883Z"
  } ]
}

状态码

状态码

描述

200

Successful

错误码

请参见错误码

相关文档