deletePieces
deletePieces(
options):Promise<OutputType>
Defined in: packages/synapse-core/src/sp/schedule-piece-deletion.ts:44
Delete pieces from a data set on the PDP API in one transaction.
DELETE /pdp/data-sets/{dataSetId}/pieces/{pieceId}
Curio uses the first piece ID in the URL for backwards-compatible routing and the pieceIds request field as the authoritative list when it is non-empty.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | OptionsType | deletePieces.OptionsType |
Returns
Section titled “Returns”Hash of the delete operation deletePieces.OutputType
Throws
Section titled “Throws”Errors deletePieces.ErrorType