删除 API Key

DELETE /api/token/{id}

说明

软删除本人名下指定的 API Key。使用 GORM 软删除,后续不能在列表/详情中看到,但同名 Key 仍可重新创建。

请求头

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

响应

字段类型必填说明
successboolean
messagestring