deleteEvent

Method that removes one or more events by their IDs.

import { deleteEvent } from "basehub/events"

Parameters

Parameter

Type

Description

key

EventBlock['adminKey']

Required. The event key that defines the schema and scope

ids

[string, ...string[]]

Required. Array with at least one event ID to delete

Returns

{ success: true } | { success: false; error: string }