Forum Discussion

KevinSaquing's avatar
6 years ago

Updating login using API

Is there a restadmin() for updating the login using API?

For the first name we have like this, right?
restadmin("/users/id/${user.id}/profiles/name/name_first/set?value=${newValue}")

 

How about for the login/username?

Thanks!

  • KevinSaquing,

    Yes, there is an Post call API for updating the user login

    /restapi/vc/users/id/${user.id}/login/set?value=${newValue}