# deletePiece

> **deletePiece**(`options`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`OutputType`](/reference/filoz/synapse-core/sp/namespaces/deletepieces/type-aliases/outputtype/)\>

Defined in: [packages/synapse-core/src/sp/schedule-piece-deletion.ts:179](https://github.com/FilOzone/synapse-sdk/blob/b35b371ef603fd76d17b0f4e9e740bcdd9b7fbc3/packages/synapse-core/src/sp/schedule-piece-deletion.ts#L179)

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

## Parameters

| Parameter | Type |
| ------ | ------ |
| `options` | [`OptionsType`](/reference/filoz/synapse-core/sp/namespaces/deletepiece/type-aliases/optionstype/) |

## Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`OutputType`](/reference/filoz/synapse-core/sp/namespaces/deletepieces/type-aliases/outputtype/)\>