Moogsoft Docs

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

auth_token

String

Yes

A valid auth_token returned from the authenticate request. See the authenticate endpoint for more information.

name

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"}'
Response example