Bulk delete events
delete
/sia/v1/event/bulkDelete
Delete events in bulk and their associated impacts using the given operation records.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Nested Schema : BulkDeleteRecord
Type:
Show Source
object
-
id: string
Document id of the entity to be deleted.
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