add token_id to self model

This commit is contained in:
Min RK
2024-04-17 09:27:31 +02:00
parent 7ca2105b80
commit c94dcc435c
3 changed files with 14 additions and 0 deletions

View File

@@ -1774,6 +1774,16 @@ components:
example:
- "read:users"
- "access:servers!user=name"
token_id:
type:
- string
- "null"
description: |
The id of the token authorizing the request, if any.
This id can be used to revoke the token via the API.
Null if the request is not authorized with a token.
Added in 5.0.
Group:
type: object
properties: