Skip to content

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.

ParameterTypeDescription
optionsOptionsTypedeletePieces.OptionsType

Promise<OutputType>

Hash of the delete operation deletePieces.OutputType

Errors deletePieces.ErrorType