Get Information about the User
GET /v3/users
Logged user MUST have right Manage users
. Request CAN contain pagination parameters. Incorrect or unsupported filter will return empty result.
URL parameters can be used to filter the result.
Name | Type | Description |
---|---|---|
limit | integer | Default value : 100 |
start | integer | Offset for the limit Default value : 0 |
include | string | Include additional properties. Available:
Example : aliases,accounts |
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Authentication:
Grant_type: client_credentials, login_info
Scopes: [ users ]
Response body:
{
"users":[],
"count": 0
}
GET /v3/users/find
Logged user MUST have right Manage users
. Request MUST contain at least one of required filter. Incorrect or unsupported filter will return empty result.
URL parameters can be used to filter the result.
Name | Type | Description |
---|---|---|
string | An | |
username | string | An |
card | string | One of the |
code | string | The |
syncSource | string | The |
isActive | integer | The Default value : 1 |
group | string | The |
limit | integer | Default value : 100 |
start | integer | Offset for the limit Default value : 0 |
include | string | Include additional properties. Available:
Default value : Example : aliases,accounts |
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Authentication:
Grant_type: client_credentials
Scopes: []
Response body:
{
"users":[],
"count": 0
}
GET /v3/users/{id}
Logged user MUST have right Manage users
to be able to retrieve different user. {id}
must by replaced by the id of the user.
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Authentication:
Grant_type: client_credentials, login_info
Scopes: [ users ]
Response body:
{
"id": 0,
"username": "string",
"fullname": "string",
"email": "string",
"scanStorage": "string",
"code": "string",
"syncSource": "string",
"lang": "string",
"phone": "string",
"ldapDomain": "string",
"notes": "string"
}
GET /v3/users/me
Get the logged user.
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Authentication:
Grant_type: login_info
Scopes: []
Response body:
{
"id": 0,
"username": "string",
"fullname": "string",
"email": "string",
"scanStorage": "string",
"code": "string",
"syncSource": "string",
"lang": "string",
"phone": "string",
"ldapDomain": "string",
"notes": "string"
}