ServerMania logo

Remove Recipe from Template

To remove a recipe from a template, use the following request:

DELETE /templates/:template_id/recipe_joins/:recipe_join_id.xml
DELETE /templates/:template_id/recipe_joins/:recipe_join_id.json

XML Request Example

curl -i -X DELETE -H "Accept: application/xml" -H "Content-type:application/xml" -u user:userpass http://test/templates/2/recipe_joins/9.xml

JSON Request Example

curl -i -X DELETE -H "Accept: application/json" -H "Content-type:application/json" -u user:userpass http://test/templates/2/recipe_joins/9.json

In the URL, specify the template ID and the ID of a recipe you want to remove.