We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

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)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,878 PostsLatest Activity: 8 hours ago
326 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!