Nav

Apply a Profile to a Server Group

The POST operation applies and publishes a Server Profile to the specified Server Group, such that Tcat writes the changes to every server in the group. The call takes a parameter named profile, which is the ID of the server profile to apply to the server group.

Example Request:


       
    
1
POST http://localhost:8080/console/api/serverGroups/37f6cd27-98b3-44b1-97e6-50b75e47f8c1?profile=95385d47-cd61-4f62-a379-59f8b31b69f5

Example Response:


       
    
1
2
3
4
5
6
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=A7BA28E4B5B2723D202C43E75FEAB204; Path=/console
Content-Type: application/json
Content-Length: 0
Date: Fri, 29 Jul 2011 17:20:30 GMT