Query the all access tokens of current user
Add access token of current user
POST
/api/v1/auth/user/token
Used for customizing user authorization duration scenarios while maintaining permissions identical to the associated user's access privileges
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
请求体
application/json
JSON
{
"name": "User access token name. The identifier must be unique",
"expiredDate": "2025-06-28 19:00:00",
"password": "Current user password"
}
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Delete the access tokens of current user
DELETE
/api/v1/auth/user/token
Note: After deletion, the access token will become invalid
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
查询参数
ids*
类型array
必填maxItems
200
minItems
0
uniqueItems
true
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}