Toggle Task Completed
Last updated
Was this helpful?
Use the toggleTaskCompleted mutation to toggle is_completed for a single task item.
Argument
Required
Type
The following fields will be part of the response.
Field name
Type
Description
sucess
String
True if a single task item has been completed. Otherwise, it displays False
message
String
Description of the result
mutation {
toggleTaskCompleted(
keysHash: "d888ffa733e035c4b8d58a7564a75663"
) {
success
message
}
}{
"data": {
"toggleTaskCompleted": {
"success": true,
"message": "is_completed: True"
}
}
}Last updated
Was this helpful?
Was this helpful?