创建
POST
https://api.flashcat.cloud/v1/n9e/users
最后修改时间:2024-10-31 06:30:57
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/v1/n9e/users?p=1&limit=10&query=' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"id": 1,
"username": "root2",
"nickname": "超管",
"phone": "",
"email": "",
"portrait": "",
"roles": [
"Admin"
],
"contacts": {},
"maintainer": 0,
"create_at": 1697527031,
"create_by": "system",
"update_at": 1697527031,
"update_by": "system",
"admin": true
}'
响应示例响应示例
{
"err": ""
}
请求参数
Query 参数
p
integer
页数
示例值:
1
limit
integer
每页数量
示例值:
10
query
string
可选
Body 参数application/json