Update App Template

Update App Template

Updates appTemplate definition. If new application or chart versions are added in the appTemplate definition, those versions will be imported. The response is a 202 with task URL in location header. if versions are removed then corresponding catalog items are deleted.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/appTemplates/{appTemplateId}
COPY
Path Parameters
string
appTemplateId
Required

appTemplateId


Request Body
AppTemplate of type(s) application/json
Optional

Show optional properties

{
    "appType": "string",
    "appId": "string"
}
{
    "appType": "string",
    "id": "string",
    "appId": "string",
    "catalogContentSource": {
        "name": "string",
        "id": "string"
    },
    "name": "string",
    "description": "string",
    "creationDate": "string",
    "lastUpdateDate": "string",
    "status": "READY, FAILED, NOT_READY",
    "logoUrl": "string",
    "screenshotUrls": [
        "string"
    ],
    "eulaAccepted": false,
    "owner": {
        "name": "string",
        "id": "string"
    },
    "catalog": {
        "name": "string",
        "id": "string"
    },
    "org": {
        "name": "string",
        "id": "string"
    },
    "lastUpdatedSiteId": "string",
    "lastUpdatedSiteName": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

400

Invalid configuration.

Returns Error of type(s) */*;version=39.1
"Error Object"
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"appId:"string","appType:"string"}' https://{api_host}/cloudapi/1.0.0/appTemplates/{appTemplateId}