View User
Request Type | GET |
URL | /oauth/users/{userID} |
Parameters | - |
Access | Access ROLE_ADMIN or ROLE_USER
and the same user |
Request
curl -k -H
"Accept: application/json" -H
"Authorization: Bearer 5925f793-c092-43ec-b3a3-65ce8e194440" -X
GET http://localhost:8080/oauth/users/admin
Response
{
"username": "admin",
"email": "radmin@reltio.co.uk",
"roles": ["ROLE_ADMIN", "ROLE_USER", "ROLE_API"],
"tenants": ["SPharma", "TAMS", "Sample", "TJMG"],
"enabled": true,
"accountNonLocked": true,
"accountNonExpired": true,
"credentialsNonExpired": true,
"entity": null,
"locale": "en",
"timezone": "UTC"
}