Update Member

I would like to let members update their information through input elements and update button located on the My Account (Wix Member Area) page instead of using the default widget

I learned that can be done using updateMember( ) API,
but I don’t know how to use it in my case

I went through Velo API Reference “https://www.wix.com/velo/reference/wix-members-backend/members/updatemember?_gl=140vc7r_ga*MjYzNDIzOTA1LjE2ODI5MTg5NDY.”

but there is no example to show ho to use it

any advice?