# Delete Heart Rate

Use the `deleteHeartRateLog` mutation to delete the desired "heart rate" entry from the given ID.

### **Required Arguments**

<table data-header-hidden><thead><tr><th width="201.33333333333331">Argument</th><th>Type</th><th>Note</th></tr></thead><tbody><tr><td>Argument</td><td>Type</td><td>Note</td></tr><tr><td><code>id</code></td><td>ID!</td><td>Id of "heart rate log" entry to be deleted</td></tr></tbody></table>

### **Available Fields**

| Field     | Type    | Note                                                                                   |
| --------- | ------- | -------------------------------------------------------------------------------------- |
| `success` | Boolean | **true:** If the entry has been deleted successfully. Otherwise, it displays **false** |
| `message` | String  | The message returns either if the information has been updated or not.                 |

### Example <a href="#example" id="example"></a>

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

```graphql
mutation {
  deleteHeartRateLog (
   id: "3ba082cf-1b3f-418a-bddf-a01c31e97bfc"
  ) 
  {
    success
    message
  }
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "deleteHeartRateLog": {
      "success": true,
      "message": "Heart Rate Log was successfully removed"
    }
  }
}
```

{% endtab %}

{% tab title="Headers" %}

```graphql
{
  "Authorization": "Bearer <insert_your_token_here>"
}
```

{% endtab %}
{% endtabs %}
