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}
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | OptionsType | deletePiece.OptionsType |
Returns
Section titled “Returns”Hash of the delete operation deletePiece.ReturnType
Throws
Section titled “Throws”Errors deletePiece.ErrorType