Contents
Add Project Administrator
Adds “Project Administrator” role to user
Role
Administrator
Method
POST
URL
/api/v2/projects/:projectIdOrKey/administrators
URL parameters
Parameter Name | Type | Description |
---|---|---|
projectIdOrKey | String | Project ID or Project Key |
Form parameters
Content-Type:application/x-www-form-urlencoded
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": 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"
}