# Delete Custom Ingredient



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Permanently delete a custom ingredient — irreversible via the API. `restoreCustomIngredient` is refused on a `deleted` ingredient (409 `custom_ingredient_not_restorable`), so no prior version can undo this. Scoped to `draft`, never-confirmed ingredients with zero recipe usage only: a typo'd or misnamed draft that was never confirmed and never composed into a recipe. Rejected once the ingredient has been confirmed (`active`), `archived`, or is already `deleted` — use `archiveCustomIngredient` to withdraw an ingredient that's ever been active. Rejected if any recipe pins this ingredient, even though a `draft` cannot normally acquire usage — check `getCustomIngredientUsage` first if unsure. Unlike `deleteRecipe`, the ingredient remains readable afterward with `status=deleted` — the record and every version before the delete are retained; what ends is any further use of the ingredient.

<APIPage document="&#x22;bettermenu&#x22;" operations="[{&#x22;path&#x22;:&#x22;/studio/custom-ingredients/{custom_ingredient_id}&#x22;,&#x22;method&#x22;:&#x22;delete&#x22;}]" />
