跳到主要内容

保存可向 Server 用户提供的 Sub2API API 密钥分组

PUT 

/api/auth/admin/sub2api/api-key-groups

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

保存前会重新读取 Sub2API 分组并校验所有 groupId。空数组表示不向 Server 用户提供任何分组。 兼容旧客户端;保留仍被选择分组的已有套餐价格,新选择分组价格默认为 0。仅 system.admin 可访问。

Request

Responses

返回保存后的分组开放状态。