Contact Us 1-800-596-4880

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.

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.

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"
}