ServerMania logo

Remove Recipe from Baremetal Server

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

DELETE /baremetal_servers/:baremetal_server_id/recipe_joins/:recipe_join_id.xml
DELETE /baremetal_servers/:baremetal_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/baremetal_servers/h76rawyvwphxk6/recipe_joins/6.xml

JSON Request Example

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

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