Add Project Group
warning
Deprecated API
This API has been deprecated and is no longer recommended for use. Please replace it with Add Project Team.
Add group to project.
Role
Administrator
Project Administrator
Method
POST
URL
/api/v2/projects/:projectIdOrKey/groups
URL parameters
Parameter Name |
Type |
Description |
projectIdOrKey |
String |
Project ID or Project Key |
Content-Type:application/x-www-form-urlencoded
Parameter Name |
Type |
Description |
groupId |
Number |
Group ID |
Response example
HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8
Response Body
{
"id": 1,
"name": "test",
"members": [
{
"id": 2,
"userId": "developer",
"name": "developer",
"roleType": 2,
"lang": null,
"mailAddress": "developer@nulab.example",
"lastLoginTime": "2022-09-01T06:35:39Z"
}
],
"displayOrder": null,
"createdUser": {
"id": 1,
"userId": "admin",
"name": "admin",
"roleType": 1,
"lang": "ja",
"mailAddress": "eguchi@nulab.example",
"lastLoginTime": "2022-09-01T06:35:39Z"
},
"created": "2013-05-30T09:11:36Z",
"updatedUser": {
"id": 1,
"userId": "admin",
"name": "admin",
"roleType": 1,
"lang": "ja",
"mailAddress": "eguchi@nulab.example",
"lastLoginTime": "2022-09-01T06:35:39Z"
},
"updated": "2013-05-30T09:11:36Z"
}