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", 
    "mailAddress":"takada@nulab.example" 
}