Contents

Get User

Returns information about user.

Role

All

Method

GET

URL

/api/v2/users/:userId

URL parameters

Parameter NameTypeDescription
userIdNumberuser 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 NameTypeDescription
langStringUser’s language setting.
"en" English
"ja" Japanese
null Not set
roleTypeNumberUser 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)