Nav
You are viewing an older version of this section. Click here to navigate to the latest version.

Update a Server Group

Call the resource /mmc/api/serverGroups/<serverGroupId> with the HTTP PUT operation to update the specified server group. Substitute the id of the server group for <serverGroupId>.

Currently you can only update the server group name property.

Example Request

The following is an example of updating a server group name.


         
      
1
2
3
4
PUT http://localhost:8080/mmc/api/serverGroups
Content-Type: application/json

{ "name" : "RenamedGroup" }

Example Response

The following is an example response to a successful request to update a server group.


         
      
1
2
3
4
5
6
7
8
9
10
11
200
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Sun, 08 Nov 2009 00:12:55 GMT

{
  "name" : "RenamedGroup",
  "id" : "73d89173-290e-4cb3-a61c-e11deb74767d",
  "serverCount" : 0,
  "href" : "http://localhost:8080/mmc/api/serverGroups/73d89173-290e-4cb3-a61c-e11deb74767d"
}