Contact Free trial Login

Apply a Profile to a Server

The POST operation applies and publishes a Server Profile to the specified server. The call takes a parameter named profile, which is the ID of the server profile to apply to the server. You may alternatively apply a server profile to group of servers.

Example Request:

POST http://localhost:8080/console/api/servers/local$fa1b187e-0436-4d44-a6c1-140416d4d440?profile=95385d47-cd61-4f62-a379-59f8b31b69f5

Example Response:

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

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub