Deployments Update
PUT {{baseUrl}}/deployments/:DeploymentKey/
Updates a given deployment. An optional list of applications to include in the deployment can be specified. The input is a subset of deployment object.
Request Body
{"Notes"=>"", "SourceEnvironmentKey"=>"", "TargetEnvironmentKey"=>"", "ApplicationOperations"=>[{"ApplicationVersionKey"=>"", "DeploymentZoneKey"=>""}, {"ApplicationVersionKey"=>"", "DeploymentZoneKey"=>""}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"Key":"","SourceEnvironmentKey":"","TargetEnvironmentKey":"","Notes":"","CreatedOn":"2014-12-31T23:59:59.938Z","CreatedBy":"","CreatedByUsername":"","SavedOn":"2014-12-31T23:59:59.938Z","SavedBy":"","SavedByUsername":"","StartedOn":"2014-12-31T23:59:59.938Z","StartedBy":"","StartedByUsername":"","AbortedOn":"2014-12-31T23:59:59.938Z","AbortedBy":"","AbortedByUsername":"","ApplicationOperations":[{"ApplicationVersionKey":"","DeploymentZoneKey":""},{"ApplicationVersionKey":"","DeploymentZoneKey":""}]}