Change User Properties
POST /v3/users
Create a user. username
and fullname
are the only required parameters. Deleted users are undeleted. Logged user MUST have right Manage users
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Authentication:
Grant_type: client_credentials, login_info
Scopes: [ users ]
Request body:
{
"username": "string",
"fullname": "string"
}
Response body:
{
"id": 0,
"username": "string",
"fullname": "string"
}
PUT /v3/users/me
Edit the logged user.
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Authentication:
Grant_type: login_info
Scopes: []
Request body:
{
"username": "string",
"fullname": "string",
"email": "string",
"scanStorage": "string",
"code": "string",
"syncSource": "string",
"lang": "string",
"phone": "string",
"ldapDomain": "string",
"notes": "string"
}
PUT /v3/users/{id}
Update a user.
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Authentication:
Grant_type: client_credentials, login_info
Scopes: [ users ]
Request body:
{
"username": "string",
"fullname": "string",
"email": "string",
"scanStorage": "string",
"code": "string",
"syncSource": "string",
"lang": "string",
"phone": "string",
"ldapDomain": "string",
"notes": "string"
}