BETTERMENU
Studio

Archive Recipe

Archive a recipe — take it offline, deactivate, retire a recipe.

Use this to answer: "archive my recipe", "take my recipe offline", "deactivate a recipe", "retire a recipe"

Transitions the recipe from PUBLISHED to ARCHIVED. Archived recipes remain queryable but are marked as inactive.

Related endpoints:

  • publishRecipe — make an archived recipe live again
  • deleteRecipe — permanently remove instead of archiving
  • getRecipeAuditTrail — see the archive event in history
POST
/studio/recipes/{recipe_id}/archive

Authorization

BearerAuth
AuthorizationBearer <token>

JWT Bearer token authentication

In: header

Path Parameters

recipe_id*string

Unique recipe identifier

Response Body

application/json

application/json

curl -X POST "https://loading/studio/recipes/string/archive"
{
  "data": {
    "id": "string",
    "org_id": "string",
    "name": "string",
    "country": "US",
    "regulatory_authority": "US_FDA",
    "demographic": "adults_and_children_over_4",
    "status": "draft",
    "ingredient_count": 0,
    "has_nutrition": true,
    "created_at": "string",
    "updated_at": "string",
    "actions": {
      "can_modify": true,
      "can_publish": true,
      "can_archive": true,
      "can_delete": true
    }
  },
  "meta": {
    "version": "string",
    "request_id": "string",
    "timestamp": "string"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}