The Set Application Attribute call sets or creates an attribute for the specified Application. If the attribute does not exist it is created. If the attribute already exists, its value is changed to the specified value.

API Call


http://host/dmadminweb/API/setvar/Application/app_id

?name=attname&value=attval


Where:


Host

The hostname and port of the DeployHub Server (e.g.: hostname:8080 or for SaaS console.deployhub.com).

app_id

The identifier of the Application whose attributes are to be changed. Either its name, its qualified name (i.e.: with its parent Domain(s) included in dot notation) or its internal ID.

attname

The name of the attribute to be created or modified.

attval

The value to be set for the specified attribute.


Example Result:


{

       "success": true

}