Returns details of the user requested
| Param name | Description |
|---|---|
|
pretty optional |
Return a pretty formatted response if true, Default is false Value: Must be a Boolean |
|
is_oem optional |
Show user of child account if is_oem flag is true. Value: Must be one of: <code>true</code>, <code>false</code>, <code>true</code>, <code>false</code>. |
Request - get details of the specified user (user specified as a part of the url)
curl -X GET -H "Content-Type:application/json" -H "X-Auth-Token:WtUFnj8pvSxVnH9e_xkq7A" https://api.datonis.io/api/v3/users/1e5228ttd8
Response (returns details of the user requested)
{
"user": {
"address": "Baner",
"city": "Pune",
"confirmed_at": "2015-11-04T09:08:01.247Z",
"country": "India",
"email": "bill@acme.com",
"first_name": "bill",
"last_name": "Doe",
"phone": "9803123547",
"role": "admin",
"time_zone": "Mumbai",
"user_key": "1e5228ttd8",
"created_at": 1446627978,
"updated_at": 1448444844,
"role_name": "Account Admin",
"role_key": "67e37d7bat"
}
}