# Remove User Goal

Use the `deleteUserTracker` mutation to remove a user custom tracker goal.

### **Required Arguments**

<table data-header-hidden><thead><tr><th width="201.33333333333331">Argument</th><th>Type</th><th width="271.7804878048781">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>User tracker goal ID.</td></tr></tbody></table>

### **Available Fields**

<table data-header-hidden><thead><tr><th>Field</th><th width="249.33333333333331">Type</th><th>Note</th></tr></thead><tbody><tr><td>Field</td><td>Type</td><td>Note</td></tr><tr><td><code>success</code></td><td>Boolean</td><td><strong>true:</strong> If the tracker goal has been removed successfully. Otherwise, it displays <strong>false</strong></td></tr><tr><td><code>message</code></td><td>String</td><td>The message returns either if the goal has been removed or not.</td></tr><tr><td><code>tracker</code></td><td>UserTracker</td><td><a href="/pages/YfDR6rqHyROTCOwqzRKJ">User Tracker.</a></td></tr></tbody></table>

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

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

```graphql
mutation {
  deleteUserTracker(id: "VXNlclRyYWNrZXI6MQ==") {
    success
    message
    tracker {
      id
      tracker
      goal
      source
    }
  }
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "deleteUserTracker": {
      "success": true,
      "message": "steps_tracker successfully removed",
      "tracker": {
        "id": "VXNlclRyYWNrZXI6MQ==",
        "tracker": "STEPS_TRACKER",
        "goal": 8000,
        "source": "SUGGESTIC"
      }
    }
  }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.suggestic.com/graphql/query/mutations/tracking/user-tracker-goals/remove-user-goal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
