Update an Application

Details

API Details
NameUpdate an Application
Description

Updates the name, description, and version of the application and its service tiers.

Other fields can not be updated

MethodPUT
URIv1/apps/appId?version=version
CloudCenter ReleaseCloudCenter 3.x and 4.x
NotesFor additional context on <PORT> usage in the following example(s), see Base URI Format.
ESB Headeraction: update.apps.appId
actionparam: version=version

Example

curl -k -X PUT -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/apps/29?version=1.54"

Request

{
    "id": "29",
    "name": "Jenkins",
    "version": "1.54",
    "description": "Testing",
    "revisionId": 0,
    "serviceTiers": [{
            "id": "30",
            "name": "tomcat6_0",
            "description": null,
            "version": "1.54",
            "revisionId": 0,
            "serviceTierId": "tomcat6-30"
        }
    ]
}

Response

The server responds with the HTTP 200 OK code upon successfully updating the application.

Request Attributes

appId
  • Description: Unique, system-generated identifier for the application profile. You can provide multiple application profile IDs as input parameters.

  • Type: String

Required

version
  • Description: The application build version.

  • Type: String

Required

id
  • DescriptionUnique, system-generated identifier for this CloudCenter Resource.

  • Type: String

Required

name
  • DescriptionThe name assigned for this CloudCenter ResourceValid characters are letters, numbers, underscores, and spaces.

  • Type: String

description
  • DescriptionA brief description for this CloudCenter Resource.

  • Type: String
serviceTiers (click for additional context)

Response Attributes

None