Skip to content

deletePiece

function deletePiece(client, options): Promise<ReturnType>;

Defined in: packages/synapse-core/src/warm-storage/pieces.ts:78

Delete a piece from a data set

Call the Service Provider API to delete the piece.

ParameterTypeDescription
clientClient<Transport, Chain, Account>The client to use to delete the piece.
optionsDeletePieceOptionsThe options for the delete piece.

Promise<ReturnType>

The transaction hash of the delete operation.