# Remove "Own" Recipe

{% hint style="danger" %}
**CAUTION: Legacy Endpoint!**\
Please refer to the [User's recipe](https://docs.suggestic.com/graphql/query/mutations/food-log/users-foods-and-recipes) documentation for a new and improved way of creating your own recipe for food logging or other purposes.
{% endhint %}

Use the `removeOwnMeal` mutation to delete/remove an "own" Recipe

### Required Argument

| Argument     | Type    | Description                                                                                                                                                                   |
| ------------ | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `databaseId` | String! | DatabaseID of the "own" recipe to be removed. Use the [`ownRecipes` ](https://docs.suggestic.com/graphql/query/queries/food-log/own-recipes)to get the databaseId of a recipe |

### Example

{% tabs %}
{% tab title="Mutation" %}

```graphql
mutation {
  removeOwnMeal(databaseId: "157d3634-6a47-11eb-82d4-baab45724771") {
    success
  }
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "removeOwnMeal": {
      "success": true
    }
  }
}
```

{% endtab %}
{% endtabs %}
