Skip to main content
GET
列出服务用户的 API key

权限

需要服务用户在企业级别拥有 ManageAccountServiceUsers 权限。

授权

Authorization
string
header
必填

服务用户凭据(前缀:cog_)

路径参数

service_user_id
string
必填

服务用户 ID(前缀:service-user-)

示例:

"service-user-abc123def456"

查询参数

status
enum<string>
默认值:all
可用选项:
active,
revoked,
expired,
all

响应

成功响应

items
ApiKeyResponse · object[]
必填
end_cursor
string | null

用于获取下一页的游标;如果这是最后一页,则为 None。

has_next_page
boolean
默认值:false

此页之后是否还有更多项目可用。

total
integer | null

可选的总数(为提升性能可省略)。