id
and name
are provided, id
takes precedence.
If only name
is provided, the dataset will be looked up by name.
Throws an error if neither id
nor name
is provided, or if the dataset cannot be found.
string
string
Promise
<void
>
A promise that resolves when the dataset is deleted.