ServerMania logo

Remove Recipe Step

To remove a recipe step, use the following request:

PUT /recipes/:recipe_id/recipe_steps/:recipe_step_id.xml
PUT /recipes/:recipe_id/recipe_steps/:recipe_step_id.json

XML Request Example

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

JSON Request Example

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

Where:

In the URL, specify the ID of a recipe the step belongs to and theĀ ID of a step you want to remove.