Get User

Returns information about user.

Role

All

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" 
} 

Response description

Parameter Name Type Description
lang String User’s language setting.
"en" English
"ja" Japanese
null Not set
roleType Number User role type.
The value’s meaning changes according to the space’s plan.

For Classic Plan Spaces:
1 Admin
2 Normal User
3 Reporter
4 Viewer
5 Guest Reporter
6 Guest Viewer

For New Plan Spaces:
1 Admin
2 Member, Guest
3 Member, Guest (Add Issues Only)
4 Member, Guest (View Issues Only)