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

  • Base URL
    https://api.doit.com
  • URL
    https://api.doit.com/datahub/v1/events/delete
  • Auth
    • API key in header Authorization
    • or API key in header X-Tenant-Id and API key in header Authorization

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"
}

Changes

No recorded changes to this operation across all 1 revision of this API.