Summary
Update an application.
Description
Update an application in IAP.
Route
PUT /applications/:name
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
name |
string |
yes |
The name for the selected application. |
properties |
object |
yes |
Contains the properties for the selected application. |
Copied to Clipboard
{
"properties": {
"loggerProps": {
"log_max_files": 100,
"log_max_file_size": 1048576,
"log_level": "spam",
"log_directory": "/var/log/pronghorn",
"log_filename": "pronghorn.log",
"console_level": "trace",
"description": "Logger Settings",
"log_timezone_offset": -5,
"metrics_filename": "metrics.log",
"metrics_max_files": 31,
"metrics_rotation_interval": "7d",
"metrics_rotation_size": "10M",
"syslog": {
"level": "error",
"facility": "local0",
"type": "5424",
"host": "localhost",
"port": 514,
"protocol": "udp4",
"pid": "process.pid",
"localhost": "",
"app_name": "process.title",
"eol": "CR"
}
},
"isEncrypted": false,
"type": "Application"
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The output of the application update process. |
Copied to Clipboard
{
"status": "Created",
"message": "A sample success message",
"data": {
"loggerProps": {
"log_max_files": 100,
"log_max_file_size": 1048576,
"log_level": "info",
"log_directory": "/var/log/pronghorn",
"log_filename": "pronghorn.log",
"console_level": "debug",
"description": "Logging",
"log_timezone_offset": -5,
"metrics_filename": "metrics.log",
"metrics_max_files": 31,
"metrics_rotation_interval": "7d",
"metrics_rotation_size": "10M",
"syslog": {
"level": "error",
"facility": "local0",
"type": "BSD",
"path": "/dev/log",
"pid": "process.pid",
"localhost": "localhost",
"app_name": "",
"eol": ""
}
},
"isEncrypted": false,
"model": "",
"name": "Local AAA",
"type": "Application",
"profiling": false,
"virtual": true,
"systemProps": {
"maxOldSpaceSize": 1024
},
"eventDeduplication": {
"active": false,
"cacheTtl": 10000,
"uniqueProps": [
"/messageId",
"/messageId",
"/messageId",
"/messageId",
"/messageId"
]
}
}
}