> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dreep.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Preset

> Delete a saved transform preset with dreep.deletePreset().

```ts theme={null}
await dreep.deletePreset({ id: preset.id });
```

## Parameters

| Parameter | Type          | Description                                      |
| :-------- | :------------ | :----------------------------------------------- |
| `id`      | `string`      | **Required.** UUID of the preset — not its `key` |
| `signal`  | `AbortSignal` | Cancels the request                              |

## Returns

Nothing. A successful call resolves; a failure throws.

<Warning>
  Assets already transformed with the preset keep working — the cached results are
  unaffected. But any URL still passing `p=<key>` starts returning an error, so remove
  those call sites first.
</Warning>

## Errors

| Error                | Cause                                  |
| :------------------- | :------------------------------------- |
| `DreepNotFoundError` | No preset with that id in this project |
