Skip to content

deletePiece

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

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

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<DeletePieceResponse>

The transaction hash of the delete operation.