notification.group.update
The notification.group.update command updates an existing notification group.
Requires Org-Admin rights.
TR50 Request
{
"cmd": {
"command": "notification.group.update",
"params": {
"key": "notificationgroup1",
"name": "Notification Group 1",
"desc": "A notification group.",
"public": false
}
}
}
Request Parameters
Name |
Type |
Required |
Description |
---|---|---|---|
key |
String |
Yes |
The key of the group. |
name |
String |
|
The name of the group. |
desc |
String |
|
The description of the group. |
public |
Boolean |
|
If the group is public or private. Defaults to true. |
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true
}
}