Contents

Add Project User

Adds user to list of project members.

Role

Administrator
Project Administrator

Method

POST

URL

/api/v2/projects/:projectIdOrKey/users

URL parameters

Parameter NameTypeDescription
projectIdOrKeyStringProject ID or Project Key

Form parameters

Content-Type:application/x-www-form-urlencoded
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"
}