ServerMania logo

Edit Recipe Group

To edit recipe group's label, use the following request:

PUT /recipe_groups/:recipe_group_id.xml
PUT /recipe_groups/:recipe_group_id.json

XML Request Example

curl -i -X PUT -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<recipe_group><label>newlabel</label></recipe_group>' --url http://test/recipe_groups/13.xml

JSON Request Example

curl -i -X PUT -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '{"recipe_group":{"label":"new"}}' --url http://test/recipe_groups/13.json

Where:

label - the recipe group's label.