Contact Us 1-800-596-4880

Update a Deployment

Tcat Server reached its End of Life in 2017. Contact your Customer Success Manager to determine options for managing, monitoring, or deploying your application.

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