Skip to main content

deleteGoal

Deletes a goal

GraphQL Schema

extend type mutation {
"""Deletes a goal"""
deleteGoal(input: DeleteGoalInput): DeleteGoalPayload
}

Arguments

NameTypeDescription
input[DeleteGoalInput](/04-reference/05-Input Objects/DeleteGoalInput.mdx)

Response Shape

This mutation returns DeleteGoalPayload

NameTypeDescription
successBoolean!Whether the mutation was successful
errorErrorTypeError information