Delete All Events for an Entity
delete
/vision/api/rawEvents/forEntityName/{entityName}
Deletes all events for the specified entity. You can optionally also specify a zone ID in the query parameter. This is useful if you have multiple devices with the same name in different device zones.
Unified Assurance roles with the following Vision package permissions have access to this endpoint:
Unified Assurance roles with the following Vision package permissions have access to this endpoint:
- Admin
- Api
Request
Path Parameters
-
entityName(required): string
The entity to delete events from.Example:
entity123
Query Parameters
-
zoneId: string
The zone ID for the entity.Example:
1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
204 Response
No Content
401 Response
Unauthorized Access
Root Schema : schema
Type:
object
The error response details.
Show Source
-
message: string
The error message.Example:
An internal server error occurred.
-
reason: string
The reason phrase for the response.Example:
INTERNAL SERVER ERROR
-
status: integer
(int32)
The response status code.Example:
500
500 Response
An internal server error occurred while accessing the database or performing a database operation.
Root Schema : schema
Type:
object
The error response details.
Show Source
-
message: string
The error message.Example:
An internal server error occurred.
-
reason: string
The reason phrase for the response.Example:
INTERNAL SERVER ERROR
-
status: integer
(int32)
The response status code.Example:
500