Skip to content
Skip to Content
Docs
Studio

Delete Recipe Serving

Delete a serving by ID.

The serving is excluded from listRecipeServings but is retained for audit compliance. Returns 204 No Content on success.

On versions declaring the recipe_versioning capability, the response carries an ETag header set to the new Version ULID so clients can pass it back as If-Match on the next mutation — 204 has no body to carry the field.

DELETE
/studio/recipes/{recipe_id}/servings/{serving_id}

Path Parameters

recipe_id*Recipe Id
serving_id*Serving Id

Serving ID

Header Parameters

If-Match*string

The recipe's current version_id: the one the last change to this recipe returned, or the one reading the recipe returns (get_recipe). A stale value is refused with the current version_id; read the recipe again and retry.

Response Body

Successful Response

Example Request
curl -X DELETE 'https://api.bettermenu.live/studio/recipes/string/servings/string' \  -H 'If-Match: string'
Example Response
Empty

Recipe in, FDA-format Nutrition Facts out, with every version kept.

Start freeNo card needed.