# Discard Custom Ingredient Pending Changes

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

Discard a custom ingredient's open pending changes. The ingredient and every recipe using it are not changed. The discarded versions stay readable in the ingredient's history. Send the pending changes' newest `version_id` (`tip_version_id`) as `If-Match`, so nothing the caller has not seen is thrown away. Allowed while the ingredient is active or archived. An AI agent can discard only pending changes it started, for the same member, that no one else edited. A machine client cannot discard pending changes.
