Contents
Update User
Updates information about user. You can’t use this API at new plan space.
Role
Administrator
Method
PATCH
URL
/api/v2/users/:userId
URL parameters
Parameter Name | Type | Description |
---|---|---|
userId | Number | user ID |
Form parameters
Content-Type:application/x-www-form-urlencoded
Parameter Name | Type | Description |
---|---|---|
password | String | password |
name | String | nickname |
mailAddress | String | Email address |
roleType | Number | Administrator(1) Normal User(2) Reporter(3) Viewer(4) Guest Reporter(5) Guest Viewer(6) |
Response example
Status Line / Response Header
HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8
Location:https://xx.backlog.jp/user/eguchi
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"
}