Directus / @directus/sdk / rest / deletePreset
Function: deletePreset() ​
deletePreset<
Schema
>(key
):RestCommand
<void
,Schema
>
Delete an existing preset.
Type Parameters ​
• Schema
Parameters ​
• key: DirectusPreset
<Schema
>["id"
]
Returns ​
RestCommand
<void
, Schema
>
Throws ​
Will throw if key is empty