Skip to content

deletePiece

function deletePiece(options): Promise<ReturnType>;

Defined in: packages/synapse-core/src/sp.ts:819

Delete a piece from a data set on the PDP API.

DELETE /pdp/data-sets/{dataSetId}/pieces/{pieceId}

ParameterTypeDescription
optionsOptionsTypedeletePiece.OptionsType

Promise<ReturnType>

Hash of the delete operation deletePiece.ReturnType

Errors deletePiece.ErrorType