deleteRecipe

Deletes a specific data prep recipe by ID.

deleteRecipe uses this Data Prep Recipe API resource.

Parameter NameTypeDescriptionRequired?
idStringThe ID of the data prep recipe.Yes

The return type is void.

There are several ways to use deleteRecipe. For example, you can display a list of recipes and enable delete on each recipe on the list.

This example adds a delete button to a page with recipes. Deleting a recipe displays a toast message using the lightning/platformShowToastEvent module.

This button calls the deleteRecipe() method.