Get User

Returns information about user.

Method

GET 

URL

/api/v2/users/:userId 

URL parameters

Parameter Name Type Description
userId Number user ID

Response example

Status Line / Response Header

HTTP/1.1 200 OK 
Content-Type:application/json;charset=utf-8 

Response Body

{ 
    "id": 1, 
    "userId": "admin", 
    "name": "admin", 
    "roleType": 1, 
    "lang": "ja", 
    "mailAddress": "eguchi@nulab.example" 
} 

When the user has not set “lang”, the response will be null.