ServerMania logo

Remove Recipe from Smart Server

To remove a recipe from a smart server, use the following request:

DELETE /smart_servers/:smart_server_id/recipe_joins/:recipe_join_id.xml
DELETE /smart_servers/:smart_server_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/smart_servers/h76rawyvwphxk6/recipe_joins/12.xml

JSON Request Example

curl -i -X DELETE -H "Accept: application/json" -H "Content-type:application/json" -u user:userpass http://test/smart_servers/h76rawyvwphxk6/recipe_joins/12.json

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