Remove User Goal

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

Required Arguments

Argument

Type

Note

id

ID!

User tracker goal ID.

Available Fields

Field

Type

Note

success

Boolean

true: If the tracker goal has been removed successfully. Otherwise, it displays false

message

String

The message returns either if the goal has been removed or not.

tracker

UserTracker

Example

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

Last updated

Was this helpful?