Skip to content

Collections.Delete

func (collectionClient) Delete(
ctx context.Context,
datasetID uuid.UUID,
collectionID uuid.UUID,
) error

Delete a collection by its id.

datasetID uuid.UUID

The id of the dataset

collectionID uuid.UUID

The id of the collection

An error if the collection could not be deleted.

not_found No such dataset

The specified dataset does not exist.

not_found No such collection

The specified collection does not exist.