v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
DataHub

Delete specific events

Deletes specific events using filters. Note that the two filters, eventIds and time ranges, are mutually exclusive.

post/datahub/v1/events/delete

Request body

datasetstring required

The dataset (provider) of the events to be deleted.

eventIdsstring[]
startTimestring date-time

The start timestamp of the time range in RFC3339 format.

endTimestring date-time

The end timestamp of the time range in RFC3339 format.

Example request

{
  "dataset": "Datadog",
  "eventIds": [
    "beb21d99-a8c9-4dc0-8a69-5d684cc41e6c"
  ],
  "startTime": "2024-03-10T23:00:00Z",
  "endTime": "2024-03-12T23:00:00Z"
}

Response

OK - Events deleted.

messagestring

Example response

{
  "message": "Delete success"
}