deleteRecipe
A Graze API POST request that deletes an existing Cookbook Recipe. You can use this endpoint to delete Recipes of all recipe types: Value Recipe, Value Recipe V2, and Bot Recipe.
Back to Graze API EndPoint Reference.
Request arguments
Endpoint deleteRecipe
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| String | Yes | A valid |
| String | Yes | Name of the Cookbook Recipe that you want to delete. |
Response
Endpoint deleteRecipe
returns the following response:
Examples
The following examples demonstrate typical use of endpoint deleteRecipe
:
Request example
Example cURL request to delete Recipe "GrazeRecipe1":
curl -X POST -u graze:graze -k -v "https://localhost/graze/v1/deleteRecipe" -H "Content-Type: application/json; charset=UTF-8" -d '{"name" : "GrazeRecipe1"}'