# Remove User Symptom Log

Use the `updateSymptomLog` mutation to update a symptom log on behalf the user.

### Required Arguments

| Argument | Type | Description     |
| -------- | ---- | --------------- |
| `id`     | ID!  | Symptom Log ID. |

### Available Fields

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

### Example

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

```graphql
mutation{
  deleteSymptomLog(
    id:"U3ltcHRvbUxvZzoyNTY="
  ){
    success
    message
  }
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "deleteSymptomLog": {
      "success": true,
      "message": "Symptom log deleted successfully"
    }
  }
}
```

{% endtab %}
{% endtabs %}
