Update Group

Updates information about group.

Role

Administrator 

Method

PATCH 

URL

/api/v2/groups/:groupId 

URL parameters

Parameter Name Type Description
groupId Number Group ID

Form parameters

Content-Type:application/x-www-form-urlencoded 
Parameter Name Type Description
name String Group Name
members[] Number User ID added to the group

Response example

Status Line / Response Header

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" 
        } 
    ], 
    "displayOrder": null, 
    "createdUser": { 
        "id": 1, 
        "userId": "admin", 
        "name": "admin", 
        "roleType": 1, 
        "lang": "ja", 
        "mailAddress": "eguchi@nulab.example" 
    }, 
    "created": "2013-05-30T09:11:36Z", 
    "updatedUser": { 
        "id": 1, 
        "userId": "admin", 
        "name": "admin", 
        "roleType": 1, 
        "lang": "ja", 
        "mailAddress": "eguchi@nulab.example" 
    }, 
    "updated": "2013-05-30T09:11:36Z" 
}