Modify the user's real-name status
PATCH
/api/v1/auth/user/realname
Modify the user's real-name status after the tenant real name authentication
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
请求体
application/json
JSON
{
"tenantId": 1,
"realNameStatus": "string"
}
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Update the password of user
Initialize the password of current user
Update the password of current user
PATCH
/api/v1/auth/user/password/current
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
请求体
application/json
JSON
{
"oldPassword": "123@5678_",
"newPassword": "876@4321_"
}
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Delete oauth2 authorization users
DELETE
/api/v1/auth/user
Note: After deleting the authorized user, they will not be able to log in to the system
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
查询参数
ids*
User ids
类型array
必填maxItems
200
minItems
0
uniqueItems
true
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Query the all authorized application information of user
Query all authorized application function list of user
GET
/api/v1/auth/user/{userId}/app/{appIdOrCode}/func
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
userId*
User id
类型integer
必填format
"int64"
appIdOrCode*
Application id or code
类型string
必填查询参数
joinApi
Association query function api flag
类型boolean
joinTag
Association query function tag flag
类型boolean
onlyEnabled
Only return enabled function, default true
类型boolean
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Query all authorized application function tree of user
GET
/api/v1/auth/user/{userId}/app/{appIdOrCode}/func/tree
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
userId*
User id
类型integer
必填format
"int64"
appIdOrCode*
Application id or code
类型string
必填查询参数
joinApi
Association query function api flag
类型boolean
joinTag
Association query function tag flag
类型boolean
onlyEnabled
Only return enabled function, default true
类型boolean
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}