You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

JohnAdam_CUNY's avatar
JohnAdam_CUNY
Helpful | Level 6
5 months ago

Error updating Preferred Name ( New First and Last name )

We got a requirement to update our Dropbox first and last name. Is it simply to to use info to update an existing user Dropbox first name and last name. Our wrote the code using json API but not as f...
  • JohnAdam_CUNY's avatar
    JohnAdam_CUNY
    5 months ago

    Documentation is not clear. See solution. Please advise if I misunderstood anything.


    team_members_set_profile_v2(user, new_email=None, new_external_id=None, new_given_name=None, new_surname=None, new_persistent_id=None, new_is_directory_restricted=None)


    if len(fname) != 0:
    result = dbx_team.team_members_set_profile_v2(user=user, new_given_name=fname)
    print(result)
    if len(lname) != 0:
    result = dbx_team.team_members_set_profile_v2(user=user, new_surname=lname)
    print(result)