Update User
PUT/users/:userId
Update User
Request
API Version
v3- application/json
- Body
- Example (auto)
Bodyrequired
- Minimum 12 characters
- At least one uppercase letter (A–Z)
- At least one lowercase letter (a–z)
- At least one number (0–9)
- At least one special character (e.g., !, @, #, $)
First name of the user
Last name of the user
Email update is no longer supported due to security reasons.
New password for the user account. All passwords will be required to meet the following criteria:
Phone number of the user in E.164 format
User account type (account for sub-account users, agency for agency-level users)
User role within the account (admin or user)
Company/Agency Id. Required for Agency Level access
List of sub-account location IDs the user should have access to
User permissions controlling access to various features
Scopes allowed for users. Only scopes that have been passed will be enabled. If passed empty all the scopes will be get disabled
campaigns.readonlycampaigns.writecalendars.readonlycalendars/events.writecalendars/groups.writecalendars.writecontacts.writecontacts/bulkActions.writeworkflows.readonlyworkflows.writetriggers.writefunnels.writeAssigned Scopes allowed for users. Only scopes that have been passed will be enabled. If passed empty all the assigned scopes will be get disabled
campaigns.readonlycampaigns.writecalendars.readonlycalendars/events.writecalendars/groups.writecalendars.writecontacts.writecontacts/bulkActions.writeworkflows.readonlyworkflows.writetriggers.writefunnels.writeURL of the user profile photo
Per-location inbound Twilio number in E.164 format, keyed by location id (Call and Voicemail Inbound Number for direct Twilio, not LC Phone). Replacement semantics: if you send twilioPhone in the request body, the stored map is replaced entirely with this object (not merged). Any location id omitted from the object is removed from the saved map. Omit the twilioPhone property entirely to leave existing numbers unchanged. Send an empty object {} to clear all per-location numbers. To clear a single location only, set that location id to an empty string "".
Platform language preference for the user
en_USesfr_CAfr_FRnldept_PTpt_BRitsvdafi{
"firstName": "John",
"lastName": "Deo",
"password": "************",
"phone": "+18832327657",
"type": "account",
"role": "admin",
"companyId": "UAXssdawIWAWD",
"locationIds": [
"C2QujeCh8ZnC7al2InWR"
],
"permissions": {
"campaignsEnabled": true,
"campaignsReadOnly": false,
"contactsEnabled": true,
"workflowsEnabled": true
},
"scopes": [
"contacts.write",
"campaigns.readonly"
],
"scopesAssignedToOnly": [
"contacts.write",
"campaigns.readonly"
],
"profilePhoto": "https://img.png",
"twilioPhone": {
"C2QujeCh8ZnC7al2InWR": "+18832327657",
"M2QrtfVt8ZnC7cv2InDL": "+18832327657"
},
"platformLanguage": "en_US"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
Unique identifier of the user
Full name of the user
First name of the user
Last name of the user
Email address of the user
Phone number of the user
Phone extension of the user
User permissions controlling access to various features
List of OAuth scopes granted to this user
campaigns.readonlycampaigns.writecalendars.readonlycalendars/events.writecalendars/groups.writecalendars.writecontacts.writecontacts/bulkActions.writeworkflows.readonlyworkflows.writetriggers.writefunnels.writeRole and access configuration for the user
LC Phone Inbound Phone Numbers
Platform language preference for the user
en_USesfr_CAfr_FRnldept_PTpt_BRitsvdafi{
"id": "0IHuJvc2ofPAAA8GzTRi",
"name": "John Deo",
"firstName": "John",
"lastName": "Deo",
"phone": "+1 808-868-8888",
"extension": "",
"permissions": {
"campaignsEnabled": true,
"campaignsReadOnly": false,
"contactsEnabled": true,
"workflowsEnabled": true
},
"scopes": [
"contacts.write",
"campaigns.readonly"
],
"roles": {
"type": "account",
"role": "admin",
"locationIds": [
"ve9EPM428h8vShlRW1KT"
]
},
"lcPhone": {
"locationId": "+1234556677"
},
"platformLanguage": "en_US"
}