ServerMania logo

Delete Recipe

To delete a recipe, use the following request:

DELETE /recipes/:recipe_id.xml
DELETE /recipes/:recipe_id.json

XML Request Example

curl -i -X DELETE -H 'Accept: application/xml' -H 'Content-type:application/xml' -u user:userpass http://test/recipes/12.xml'

JSON Request Example

curl -i -X DELETE -H 'Accept: application/json' -H 'Content-type:application/json' -u user:userpass http://test/recipes/12.json'

Where: 

recipe_id - the recipe ID.