Skip to content

feat: add delete multiple pieces functionality#586

Open
akronim26 wants to merge 1 commit intoFilOzone:masterfrom
akronim26:delete-mulitiple-pieces
Open

feat: add delete multiple pieces functionality#586
akronim26 wants to merge 1 commit intoFilOzone:masterfrom
akronim26:delete-mulitiple-pieces

Conversation

@akronim26
Copy link
Contributor

This PR adds the functionality of deleting multiple pieces from a dataset in one go. It resolves #551.

@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Feb 3, 2026
export async function deletePieces(options: deletePieces.OptionsType): Promise<deletePieces.ReturnType> {
const { endpoint, dataSetId, pieceIds, extraData } = options
const response = await request.json.post<deletePieces.ReturnType>(
new URL(`pdp/data-sets/${dataSetId}/pieces/removals`, endpoint),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think curio has this endpoint yet. If you are working on that too, please link your PR. It should target the pdpv0 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📌 Triage

Development

Successfully merging this pull request may close these issues.

Add delete multiple pieces in one go

2 participants