获取指定用户信息
GET
https://api.flashcat.cloud/api/n9e/user/{id}/profile
最后修改时间:2025-03-11 08:32:41
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e/user/1/profile'
响应示例响应示例
{
"id": 2,
"username": "test1",
"nickname": "测试1",
"phone": "",
"email": "",
"portrait": "",
"roles": [
"Admin"
],
"contacts": {
"mm_webhook_url": "a",
"lark_robot_token": "a"
},
"maintainer": 0,
"create_at": 1740572038,
"create_by": "root",
"update_at": 1740572038,
"update_by": "root",
"belong": "",
"admin": true,
"user_groups": null,
"busi_groups": null,
"last_active_time": 0
}
请求参数
Path 参数
id
string
用户ID
示例值:
1