TOUserRole
Provides a unified entry for querying or authorizing the relationship between users and operational roles
Authorized the operation roles to user
Authorized to operation role to users
PATCH
/api/v1/to/role/{id}/auth
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
id*
Role id
类型integer
必填format
"int64"
查询参数
userIds*
类型array
必填maxItems
200
minItems
0
uniqueItems
true
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Delete the operation roles of user
DELETE
/api/v1/to/user/{id}/role
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
id*
User id
类型integer
必填format
"int64"
查询参数
roleIds*
类型array
必填maxItems
200
minItems
0
uniqueItems
true
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Delete the user operation roles
DELETE
/api/v1/to/role/{id}/user
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
id*
Role id
类型integer
必填format
"int64"
查询参数
userIds*
类型array
必填maxItems
200
minItems
0
uniqueItems
true
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}