# Archive Recipe



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

Archive a recipe — take it offline.

Sets the lifecycle marker to ARCHIVED and writes a new Version.
Use `unarchiveRecipe` to reverse. Idempotent: re-archiving an
already-archived recipe returns the existing `version_id`.

<APIPage document="&#x22;bettermenu&#x22;" operations="[{&#x22;path&#x22;:&#x22;/studio/recipes/{recipe_id}/archive&#x22;,&#x22;method&#x22;:&#x22;post&#x22;}]" />
