认证管理

撤销令牌

撤销指定的令牌

delete/auth/tokens/{token_id}

Path parameters

token_idstring required

令牌ID

Request body

reasonstring

撤销原因

Example request

{
  "reason": "用户主动登出"
}

Response

撤销成功

messagestring

成功信息

Example response

{
  "message": "操作成功"
}

Changes

No recorded changes to this endpoint across all 79 revisions of this API.