Skip to content

deleteGoal

Destroy a Goal. Returns a CONFLICT error when the goal belongs to a program the client is still enrolled in and has not completed the module for.

Arguments

input · deleteGoalInput · Parameters for deleteGoal

Returns

deleteGoalPayload

Example

mutation deleteGoal($input: deleteGoalInput) {
deleteGoal(input: $input) {
goal
messages
}
}