deleteGoal
Deletes a goal
GraphQL Schema
extend type mutation {
"""Deletes a goal"""
deleteGoal(input: DeleteGoalInput): DeleteGoalPayload
}
Arguments
| Name | Type | Description |
|---|---|---|
| input | [DeleteGoalInput](/04-reference/05-Input Objects/DeleteGoalInput.mdx) |
Response Shape
This mutation returns DeleteGoalPayload
| Name | Type | Description |
|---|---|---|
| success | Boolean! | Whether the mutation was successful |
| error | ErrorType | Error information |