Contents

Add Project Administrator

Adds “Project Administrator” role to user

Role

Administrator

Method

POST

URL

/api/v2/projects/:projectIdOrKey/administrators

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": 5686,
    "userId": "takada",
    "name": "takada",
    "roleType":2,
    "lang":"ja",
    "nulabAccount": {
        "nulabId": "r4iGCWu4mU64aGUJykJH4GhBwdAXMTAtVRQ5RwZTDpeaECoBs2",
        "name": "takada",
        "uniqueId": "takada"
    },
    "mailAddress":"takada@nulab.example",
    "lastLoginTime": "2022-09-01T06:35:39Z"
}