Contact Free trial Login

Update a Deployment

The PUT operation updates the specified deployment. The name, applications, and servers property of the deployment type are required, whereas the applications and servers arrays can be empty if desired.

Example Request:

PUT http://localhost:8080/console/api/deployments/local$0bc2e0b8-d9f1-468c-9aa3-2966f07b73e8
Content-Type: application/json

{
  "name" : "Test",
  "applications": [
    {
      "href" : "http://localhost:8080/console/api/registry/Applications/test.war/1.0"
    }
  ],
  "servers": [
    {
      "href" : "http://localhost:8080/console/api/servers/local$c458777f-122f-4f7a-8451-6cccfdd6c94e"
    }
  ]
}

Example Response:

200 OK
Content-Length: 0
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Mon, 10 Aug 2015 15:21:25 GMT

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.