Update an Event Filter Group
put
/api/event/FilterGroups/{id}
Updates the properties of the event filter group that matches the specified ID.
Request
Path Parameters
-
id(required): integer(int32)
The event filter group ID.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
FilterGroupName: string
Filter Group NameExample:
Global -
Filters: array
Filters
List of Filters IDs
-
OwnerUserGroupID: integer
Chosen user group ownerExample:
0 -
OwnerUserID: integer
Chosen user ownerExample:
0 -
ParentFilterGroupID:
ParentFilterGroupID
FilterGroupID of Parent Group, can be "root" or an int.
-
Remove: boolean
Remove Filter from other Event Filter Groups Allowed Values: - 0 => FALSE - 1 => TRUEExample:
1 -
RestrictionFilter: string
Restriction filterExample:
Nested Schema : ParentFilterGroupID
FilterGroupID of Parent Group, can be "root" or an int.
Match One Schema
Show Source
Example:
1Response
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : SuccessfulUpdateOperation
Type:
Show Source
object-
message: string
The response message.Example:
Updated record -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : type
Type:
Show Source
object-
data: array
data
The properties of the updated event filter group.
Nested Schema : eventFilterGroupsReadByID
Type:
Show Source
object-
FilterGroupID: integer
Filter Group IDExample:
1 -
FilterGroupName: string
Filter Group NameExample:
Global -
Filters: array
Filters
Array of filters belonging to the filter group.
-
OwnerUserGroupID: integer
Chosen user group ownerExample:
0 -
OwnerUserID: integer
Chosen user ownerExample:
0 -
ParentFilterGroupID:
ParentFilterGroupID
FilterGroupID of Parent Group, can be "root" or an int.
-
RestrictionFilter: string
Restriction filterExample:
Nested Schema : Filters
Type:
arrayArray of filters belonging to the filter group.
Show Source
Example:
[
{
"FilterID":"1",
"FilterName":"All Events"
},
{
"FilterID":"2",
"FilterName":"Syslogs"
}
]Nested Schema : ParentFilterGroupID
FilterGroupID of Parent Group, can be "root" or an int.
Match One Schema
Show Source
Example:
1Nested Schema : items
Type:
Show Source
object-
FilterID: integer
Filter IDExample:
1 -
FilterName: string
Filter NameExample:
All Events
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
arrayThe list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type:
object