Delete a User Recipe

Use the deleteUserRecipe mutation to delete a specific recipe created by a user. Use a b64 id to delete the recipe. Note that only the owner of the recipe can delete it.

Required Argument

Available Fields

The following field will be part of the response.


GraphQL Example

mutation deleteMyRecipe {
  deleteMyRecipe(id: "VXNlclJlY2lwZTphNXNKWVh3QlY0Q1V6aWdSNkhaeg==") {

curl Example

curl -XPOST '' \
  -H 'Authorization: Bearer <User-JWT>' \
  -H 'Content-Type: application/json' \
--data-raw '{"query":"mutation { deleteMyRecipe (id:\"VXNlclJlY2lwZTpCbFVKWVh3QkZ4bmZEbThWempFVA==\") { success message } }"}'

Last updated