Skip to main content

foundation-comms.datasource.deleteitem

Home > @genesislcap/foundation-comms > Datasource > deleteItem

Datasource.deleteItem() method

Deletes an item with the given ID from the datasource.

Signature:

deleteItem?(itemId: string): Promise<void>;

Parameters

Parameter

Type

Description

itemId

string

The ID of the item to be deleted.

Returns:

Promise<void>

A promise that resolves when the item has been deleted.