Contents
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",
"nulabAccount": {
"nulabId": "Prm9ZD9DQD5snNWcSYSwZiQoA9WFBUEa2ySznrSnSQRhdC2X8G",
"name": "admin",
"uniqueId": "admin"
},
"mailAddress": "eguchi@nulab.example",
"lastLoginTime": "2022-09-01T06:35:39Z"
}
Response description
Parameter Name | Type | Description |
---|---|---|
lang | String | User’s language setting."en" English"ja" Japanesenull Not set |
roleType | Number | User role type. The value’s meaning changes according to the space’s plan. For Classic Plan Spaces: 1 Admin2 Normal User3 Reporter4 Viewer5 Guest Reporter6 Guest ViewerFor New Plan Spaces: 1 Admin2 Member, Guest3 Member, Guest (Add Issues Only)4 Member, Guest (View Issues Only) |