#How to update ME user datas?

2 messages · Page 1 of 1 (latest)

dire lantern
#

Hello,
I've a problem for update ME datas with GraphQL.
My mutation is:

mutation User {
    update_users_me(
        data: { first_name: "Hector" }
    ) {
        first_name
        last_name
    }
}

And I've this error:

                "code": "GRAPHQL_VALIDATION_EXCEPTION",
                "graphqlErrors": [
                    {
                        "message": "Cannot query field \"update_users_me\" on type \"Mutation\".",
}
]

Have you a solution for this problem?
Thank you!

dire lantern
#

How to update ME user datas?