SystemToken
System access tokens are digital "ID cards" that temporarily grant users or apps specific permissions to access systems or data. They act like a secure, time-limited passcode—unlike traditional passwords, tokens verify identity AND control exactly what actions are allowed (e.g. "read-only access for 1 hour")
Query all system tokens
Add system token
POST
/api/v1/system/token
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
请求体
application/json
JSON
{
"name": "string",
"expiredDate": "2025-10-09 03:02:29",
"authType": "string",
"resources": [
{
"resource": "string",
"apiIds": [
0
],
"acls": [
"string"
]
}
]
}
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}