Skip to content

Collections.Delete

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

Delete a collection by its id.

Parameters

datasetID uuid.UUID

The id of the dataset

collectionID uuid.UUID

The id of the collection

Returns

An error if the collection could not be deleted.

Errors

not_found No such dataset

The specified dataset does not exist.

not_found No such collection

The specified collection does not exist.

Type to search…