/users/{user_id} Update a specific user
Each team member can edit their own details; admins can update anyone's. The API can edit these fields: first_name, last_name, company, and bcc_email. Set bcc_email to true to generate a new BCC email address, otherwise omit it — you can only update bcc_email for yourself.
Path parameters
| Name | Type | Description |
|---|---|---|
user_id req | string | User ID |
Request body
first_namestringFirst name of the user
last_namestringLast name of the user
company_namestringName of the company that the user works for
bcc_emailstringShould the BCC email address be re-generated for this user (you can only update this field for yourself)
Responses
200 OK
statusintegerint32Response code
messagestringResponse message
timestampintegerunix-timestampResponse time
dataobjectobject fields →
userobjectUseful information about the logged user and other members of the team. Each can update their own info. Admins can update all.
object fields →
idstringbson-idID of the user
first_namestringFirst name of the user
last_namestringLast name of the user
emailstringEmail address of the user
company_namestringName of the company that the user works for
account_rightsarray<string>List of permissions which the user possesses
photo_urlstringURL of the user’s profile picture
country_codestringISO-3166 country code of the users address
bcc_emailstringBCC email dropbox address of the user (you only see your own)
google_contacts_emailstringGoogle Contacts email address of the user (you only see your own)
Standard error responses: 400 · 401 · 403 · 404 · 409 · 500 — shared across the API. See Errors.