# Delete my Checklist Item

Use the `deleteMyChecklistItem` to delete a checklist item created previously by using the [`createMyChecklistItem`](https://docs.suggestic.com/graphql/query/mutations/tracking/create-my-checklist-item#available-fields) mutation.

{% hint style="warning" %}
A deleted checklist item cannot be recovered.
{% endhint %}

### Required Argument

| **Argument Name** | **Type** |                                                                                  **Description**                                                                                 |
| :---------------: | :------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|        `ID`       |    ID    | Unique Checklist item ID. Execute the [`myChecklistItems` ](https://docs.suggestic.com/graphql/query/queries/tracking/my-checklist-item)to get the id of the item to be deleted. |

## Available Fields

The following fields will be displayed in the response:

|     **Field**     |                                                     **Type**                                                    |                                  **Description**                                 |
| :---------------: | :-------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------: |
|     `success`     |                                                      string                                                     | **True** if the checlistitem has been deleted successfully. Otherwise, **False** |
|     `message`     |                                                      string                                                     |                             Description of the result                            |
| `myChecklistItem` | [myChecklistItem](https://docs.suggestic.com/graphql/query/queries/tracking/my-checklist-item#available-fields) |                    A structured version of the checklist item.                   |

## Example

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

```graphql
mutation {
  deleteMyChecklistItem(id: "TXlDaGVja2xpc3RJdGVtOjI=") {
    success
    message
    myChecklistItem {
      id
      header
      text
      createdAt
    }
  }
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "deleteMyChecklistItem": {
      "success": true,
      "message": "My checklist item was successfully deleted",
      "myChecklistItem": {
        "id": "TXlDaGVja2xpc3RJdGVtOjI=",
        "header": "Run 30km",
        "text": "Coach Suggestion",
        "createdAt": "2022-02-04T15:59:37.974133+00:00"
      }
    }
  }
}
```

{% endtab %}
{% endtabs %}
