查询成员模型权限
GET
/enterprise/v1/sub-accounts/{subAccountId}/model-accessrestriction 为 INHERIT 或 ALLOWLIST。models 每项包含 name、displayName、modelType。
身份验证
MANAGEMENT Key;tenant:policies:read
Authorization: Bearer <CONTROL_KEY>
路径中的 subAccountId 必须属于当前企业;hash 是 Key 元数据标识,不能传明文密钥。
路径参数
subAccountIdstringrequired10-digit public member ID / 10 位成员编号
响应
HTTP 200; code: 200. 以下为示例值,字段使用 camelCase。
codeinteger200
dataobject | nulldata.restrictionstringdata.modelsarray错误处理
检查 HTTP 状态和 code,失败时读取 serviceCode、msg、traceId。无效凭证无法读取数据;缺少 scope 返回 API_KEY_SCOPE_DENIED。跨企业资源不可访问。不要把 202 接受或审批待处理当作业务完成。
此页面对您有帮助吗?