Bulk delete events using filter query
delete
/sia/v1/event/selectAllDelete
Delete the events in bulk matching the given smart search filters criteria. The delete operation is performed on all events that match the smart search filters. Events with document IDs specified in excludeList are skipped from the delete operation.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
excludeList: array
excludeList
List of entity document IDs which should be excluded from applying delete operation.
-
filters: array
filters
Applied filters defining a smart search query.
Nested Schema : excludeList
Type:
array
List of entity document IDs which should be excluded from applying delete operation.
Show Source
Nested Schema : SmartSearchFilterChip
Type:
Show Source
object
-
filter: string
Name of the smart search filter.
-
value:
Value of the smart search filter.
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Events deleted successfully.
Root Schema : BulkOperationResult
Type:
Show Source
object
-
errors: array
errors
Error records to store the information of the failed operations on the entities.
-
hasErrors: boolean
Flag to indicate if there are any errors.
Nested Schema : errors
Type:
array
Error records to store the information of the failed operations on the entities.
Show Source
Nested Schema : ErrorRecord
Type:
Show Source
object
-
errorMessage: string
Error message indicating the reason for the failure.
-
id: string
Document id of the entity for which the operation failed.
Examples
400 Response
The request isn't valid
401 Response
The request is unauthorized
403 Response
The request is forbidden
404 Response
The requested resource not found
500 Response
An Internal Server Error has occurred