批量删除 API Key

POST /api/token/batch

说明

传入 id 数组一次性删除多个 API Key。只会删除当前用户名下的 Key,跨用户 id 会被忽略。

请求头

名称位置类型必填说明
Authorizationheaderstring系统访问令牌
New-Api-Userheaderstring用户 ID

请求体

字段类型必填说明
idsarray要删除的 API Key id 列表

响应

字段类型必填说明
successboolean
messagestring
datainteger实际删除的条数