Graphql mutation not working in V4

You are using the Strapi v3 GraphQL format. In stead something like:

mutation {
  updateTodo(id: "1", data: { done: true }) {
    data {
      id
      attributes {
        done
      }
    }
  }
}
1 Like