跳到主要内容

创建 API 密钥路由

创建 API 密钥路由

请求体 必需
name 名称
last_used_at 上次使用时间
total_uses 总使用次数
is_active 是否激活
api_key API 密钥
user_id 用户 ID
created_at 创建时间
响应
200

成功响应

模式 可选
name 名称 可选
last_used_at 上次使用时间 可选
total_uses 总使用次数 可选
is_active 是否激活 可选
id uuid
api_key API 密钥
user_id uuid
422

验证错误

模式 可选
detail 对象数组 可选
loc 未定义数组
msg 消息
type 错误类型
Search