Contact Free trial Login

Create a Server Group

The POST operation creates a new server group. The JSON server group data structure should contain one property, name, which is the name of the group to be created.

Example Request:

POST http://localhost:8080/console/api/serverGroups
Content-Type: application/json

{ "name" : "NewGroupName" }

Example Response:

201
Content-Type: application/json
Server: Apache-Coyote/1.1
Location: http://localhost:8080/console/api/serverGroups/73d89173-290e-4cb3-a61c-e11deb74767d
Date: Sun, 08 Nov 2009 00:12:55 GMT

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

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.