认证管理

撤销令牌

撤销指定的令牌

delete/auth/tokens/{token_id}

Request

  • Base URL: https://localhost:58091/api/v1
  • URL: https://localhost:58091/api/v1/auth/tokens/{token_id}
  • Auth: API key in header Authorization

Path parameters

token_idstring required

令牌ID

Request body

reasonstring

撤销原因

Example request

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

Response

撤销成功

messagestring

成功信息

Example response

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

Changes

No recorded changes to this operation across all 166 revisions of this API.