ServerMania logo

Remove Recipe from Compute Zone

To remove a recipe from a compute zone, use the following request:

DELETE /settings/hypervisor_zones/:hypervisor_zone_id/recipe_joins/:recipe_join_id.xml
DELETE /settings/hypervisor_zones/:hypervisor_zone_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/settings/hypervisor_zones/9/recipe_joins/8.xml

JSON Request Example

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

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