Summary
Update the properties of an application.
Description
Update the properties of an application in IAP.
Route
PUT /applications/:name/properties
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
name |
string |
yes |
The name for the selected application. |
properties |
object |
yes |
An object containing only the application properties. |
Copied to Clipboard
{
"properties": {
"title": "properties"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"properties": {
"title": "properties"
}
},
"required": [
"properties"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The output of the application properties update process. |
Copied to Clipboard
{
"status": "OK",
"message": "A sample success message",
"data": {
"loggerProps": {
"log_max_files": 100,
"log_max_file_size": 1048576,
"log_level": "debug",
"log_directory": "/var/log/pronghorn",
"log_filename": "pronghorn.log",
"console_level": "info",
"description": "Logging",
"log_timezone_offset": -5,
"metrics_filename": "metrics.log",
"metrics_max_files": 31,
"metrics_rotation_interval": "7d",
"metrics_rotation_size": "10M",
"syslog": {
"level": "info",
"facility": "local0",
"type": "BSD",
"path": "/dev/log",
"pid": "process.pid",
"localhost": "",
"app_name": "",
"eol": ""
}
},
"isEncrypted": true,
"model": "@itential/adapter-local_aaa",
"name": "Local AAA",
"type": "Application",
"properties": {
"id": "Local AAA",
"type": "",
"brokers": [
"aaa"
],
"groups": [
"5fe9f10cc1fca243d562e1d8",
"5fe9f10cc1fca243d562e1d8",
"5fe9f10cc1fca243d562e1d8",
"5fe9f10cc1fca243d562e1d8",
"5fe9f10cc1fca243d562e1d8"
]
},
"profiling": false,
"virtual": false,
"systemProps": {
"maxOldSpaceSize": 1024
},
"eventDeduplication": {
"active": true,
"cacheTtl": 10000,
"algorithm": "md5",
"uniqueProps": [
"/messageId"
]
}
}
}