ServerMania logo

Remove Recipe from Virtual Server

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

DELETE /virtual_machines/:virtual_machine_id/recipe_joins/:recipe_join_id.xml
DELETE /virtual_machines/:virtual_machine_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/virtual_machines/h76rawyvwphxk6/recipe_joins/1.xml

JSON Request Example

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

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