put
https://services.leadconnectorhq.com/users/{userId}
Update User
Request
Use the Access Token generated with user type as Agency (OR) Private Integration Token of Agency.
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Provide your bearer token in the Authorization header when making requests to protected resources.
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Provide your bearer token in the Authorization header when making requests to protected resources.
Body
firstName
stringExample:
John
lastName
stringExample:
Deo
email
stringEmail update is no longer supported due to security reasons.
Example:
john@deo.com
emailChangeOTP
stringOTP to change the email ID of the user
Example:
191344
password
stringExample:
*******
phone
stringExample:
+18832327657
isEjectedUser
booleanExample:
true
type
stringExample:
account
role
stringExample:
admin
companyId
stringCompany/Agency Id. Required for Agency Level access
Example:
UAXssdawIWAWD
locationIds
array[string]Example:
["C2QujeCh8ZnC7al2InWR"]
permissions
objectcampaignsEnabled
booleanDefault:
true
Example:
true
campaignsReadOnly
booleanDefault:
false
Example:
false
contactsEnabled
booleanDefault:
true
Example:
true
workflowsEnabled
booleanDefault:
true
Example:
true
workflowsReadOnly
booleanDefault:
false
Example:
true
triggersEnabled
booleanDefault:
true
Example:
true
funnelsEnabled
booleanDefault:
true
Example:
true
websitesEnabled
booleanDefault:
false
Example:
false
opportunitiesEnabled
booleanDefault:
true
Example:
true
dashboardStatsEnabled
booleanDefault:
true
Example:
true
bulkRequestsEnabled
booleanDefault:
true
Example:
true
appointmentsEnabled
booleanDefault:
true
Example:
true
reviewsEnabled
booleanDefault:
true
Example:
true
onlineListingsEnabled
booleanDefault:
true
Example:
true
phoneCallEnabled
booleanDefault:
true
Example:
true
conversationsEnabled
booleanDefault:
true
Example:
true
assignedDataOnly
booleanDefault:
false
Example:
false
adwordsReportingEnabled
booleanDefault:
false
Example:
false
membershipEnabled
booleanDefault:
false
Example:
false
facebookAdsReportingEnabled
booleanDefault:
false
Example:
false
attributionsReportingEnabled
booleanDefault:
false
Example:
false
settingsEnabled
booleanDefault:
true
Example:
true
tagsEnabled
booleanDefault:
true
Example:
true
leadValueEnabled
booleanDefault:
true
Example:
true
marketingEnabled
booleanDefault:
true
Example:
true
agentReportingEnabled
booleanDefault:
true
Example:
true
botService
booleanDefault:
false
Example:
false
socialPlanner
booleanDefault:
true
Example:
true
bloggingEnabled
booleanDefault:
true
Example:
true
invoiceEnabled
booleanDefault:
true
Example:
true
affiliateManagerEnabled
booleanDefault:
true
Example:
true
contentAiEnabled
booleanDefault:
true
Example:
true
refundsEnabled
booleanDefault:
true
Example:
true
recordPaymentEnabled
booleanDefault:
true
Example:
true
cancelSubscriptionEnabled
booleanDefault:
true
Example:
true
paymentsEnabled
booleanDefault:
true
Example:
true
communitiesEnabled
booleanDefault:
true
Example:
true
exportPaymentsEnabled
booleanDefault:
true
Example:
true
scopes
array[string]Scopes allowed for users. Only scopes that have been passed will be enabled. If passed empty all the scopes will be get disabled
Allowed values:
campaigns.readonlycampaigns.writecalendars/events.writecalendars/events.readonlycontacts.writecontacts/bulkActions.writeworkflows.readonlyworkflows.writetriggers.writefunnels.writewebsites.writemedias.writemedias.readonlyopportunities.writeopportunities/leadValue.readonlyopportunities/bulkActions.writereporting/phone.readonlyreporting/adwords.readonlyreporting/facebookAds.readonlyreporting/attributions.readonlyreporting/agent.readonlyreporting/reports.writereporting/reports.readonlypayments.writepayments/refunds.writepayments/records.writepayments/exports.writepayments/subscriptionsCancel.writeinvoices.writeinvoices.readonlyinvoices/schedule.readonlyinvoices/schedule.writeinvoices/template.readonlyinvoices/template.writereputation/review.writereputation/listing.writeconversations.writeconversations.readonlyconversations/message.readonlyconversations/message.writecontentAI.writedashboard/stats.readonlylocations/tags.writelocations/tags.readonlymarketing.writeeliza.writesettings.writesocialplanner/post.writesocialplanner/account.readonlysocialplanner/account.writesocialplanner/category.readonlysocialplanner/category.writesocialplanner/csv.readonlysocialplanner/csv.writesocialplanner/group.writesocialplanner/hashtag.readonlysocialplanner/hashtag.writesocialplanner/oauth.readonlysocialplanner/oauth.writesocialplanner/post.readonlysocialplanner/recurring.readonlysocialplanner/recurring.writesocialplanner/review.readonlysocialplanner/review.writesocialplanner/rss.readonlysocialplanner/rss.writesocialplanner/search.readonlysocialplanner/setting.readonlysocialplanner/setting.writesocialplanner/stat.readonlysocialplanner/tag.readonlysocialplanner/tag.writesocialplanner/filters.readonlysocialplanner/medias.readonlysocialplanner/medias.writesocialplanner/watermarks.readonlysocialplanner/watermarks.writesocialplanner/metatag.readonlysocialplanner/facebook.readonlysocialplanner/linkedin.readonlysocialplanner/twitter.readonlysocialplanner/notification.readonlysocialplanner/notification.writesocialplanner/snapshot.readonlysocialplanner/snapshot.writemarketing/affiliate.writeblogs.writemembership.writecommunities.writecertificates.writecertificates.readonlyadPublishing.writeadPublishing.readonlyprospecting.writeprospecting.readonlyprospecting/reports.readonlyprivate-integration-location.readonlyprivate-integration-location.writeprivate-integration-company.readonlyprivate-integration-company.writenative-integrations.readonlynative-integrations.writewordpress.writewordpress.readcustom-menu-link.writeusers/team-management.writeusers/team-management.readonly
Example:
["contacts.write","campaigns.readonly"]
scopesAssignedToOnly
array[string]Assigned Scopes allowed for users. Only scopes that have been passed will be enabled. If passed empty all the assigned scopes will be get disabled
Allowed values:
campaigns.readonlycampaigns.writecalendars/events.writecalendars/events.readonlycontacts.writecontacts/bulkActions.writeworkflows.readonlyworkflows.writetriggers.writefunnels.writewebsites.writemedias.writemedias.readonlyopportunities.writeopportunities/leadValue.readonlyopportunities/bulkActions.writereporting/phone.readonlyreporting/adwords.readonlyreporting/facebookAds.readonlyreporting/attributions.readonlyreporting/agent.readonlyreporting/reports.writereporting/reports.readonlypayments.writepayments/refunds.writepayments/records.writepayments/exports.writepayments/subscriptionsCancel.writeinvoices.writeinvoices.readonlyinvoices/schedule.readonlyinvoices/schedule.writeinvoices/template.readonlyinvoices/template.writereputation/review.writereputation/listing.writeconversations.writeconversations.readonlyconversations/message.readonlyconversations/message.writecontentAI.writedashboard/stats.readonlylocations/tags.writelocations/tags.readonlymarketing.writeeliza.writesettings.writesocialplanner/post.writesocialplanner/account.readonlysocialplanner/account.writesocialplanner/category.readonlysocialplanner/category.writesocialplanner/csv.readonlysocialplanner/csv.writesocialplanner/group.writesocialplanner/hashtag.readonlysocialplanner/hashtag.writesocialplanner/oauth.readonlysocialplanner/oauth.writesocialplanner/post.readonlysocialplanner/recurring.readonlysocialplanner/recurring.writesocialplanner/review.readonlysocialplanner/review.writesocialplanner/rss.readonlysocialplanner/rss.writesocialplanner/search.readonlysocialplanner/setting.readonlysocialplanner/setting.writesocialplanner/stat.readonlysocialplanner/tag.readonlysocialplanner/tag.writesocialplanner/filters.readonlysocialplanner/medias.readonlysocialplanner/medias.writesocialplanner/watermarks.readonlysocialplanner/watermarks.writesocialplanner/metatag.readonlysocialplanner/facebook.readonlysocialplanner/linkedin.readonlysocialplanner/twitter.readonlysocialplanner/notification.readonlysocialplanner/notification.writesocialplanner/snapshot.readonlysocialplanner/snapshot.writemarketing/affiliate.writeblogs.writemembership.writecommunities.writecertificates.writecertificates.readonlyadPublishing.writeadPublishing.readonlyprospecting.writeprospecting.readonlyprospecting/reports.readonlyprivate-integration-location.readonlyprivate-integration-location.writeprivate-integration-company.readonlyprivate-integration-company.writenative-integrations.readonlynative-integrations.writewordpress.writewordpress.readcustom-menu-link.writeusers/team-management.writeusers/team-management.readonly
Example:
["contacts.write","campaigns.readonly"]
profilePhoto
stringExample:
https://img.png
Headers
Authorization
stringAccess Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
stringAPI Version
Allowed value:
2021-07-28
Responses
200
Successful response
Body
id
stringExample:
0IHuJvc2ofPAAA8GzTRi
name
stringExample:
John Deo
firstName
stringExample:
John
lastName
stringExample:
Deo
email
stringExample:
john@deo.com
phone
stringExample:
+1 808-868-8888
extension
stringExample:
permissions
objectcampaignsEnabled
booleanDefault:
true
Example:
true
campaignsReadOnly
booleanDefault:
false
Example:
false
contactsEnabled
booleanDefault:
true
Example:
true
workflowsEnabled
booleanDefault:
true
Example:
true
workflowsReadOnly
booleanDefault:
false
Example:
true
triggersEnabled
booleanDefault:
true
Example:
true
funnelsEnabled
booleanDefault:
true
Example:
true
websitesEnabled
booleanDefault:
false
Example:
false
opportunitiesEnabled
booleanDefault:
true
Example:
true
dashboardStatsEnabled
booleanDefault:
true
Example:
true
bulkRequestsEnabled
booleanDefault:
true
Example:
true
appointmentsEnabled
booleanDefault:
true
Example:
true
reviewsEnabled
booleanDefault:
true
Example:
true
onlineListingsEnabled
booleanDefault:
true
Example:
true
phoneCallEnabled
booleanDefault:
true
Example:
true
conversationsEnabled
booleanDefault:
true
Example:
true
assignedDataOnly
booleanDefault:
false
Example:
false
adwordsReportingEnabled
booleanDefault:
false
Example:
false
membershipEnabled
booleanDefault:
false
Example:
false
facebookAdsReportingEnabled
booleanDefault:
false
Example:
false
attributionsReportingEnabled
booleanDefault:
false
Example:
false
settingsEnabled
booleanDefault:
true
Example:
true
tagsEnabled
booleanDefault:
true
Example:
true
leadValueEnabled
booleanDefault:
true
Example:
true
marketingEnabled
booleanDefault:
true
Example:
true
agentReportingEnabled
booleanDefault:
true
Example:
true
botService
booleanDefault:
false
Example:
false
socialPlanner
booleanDefault:
true
Example:
true
bloggingEnabled
booleanDefault:
true
Example:
true
invoiceEnabled
booleanDefault:
true
Example:
true
affiliateManagerEnabled
booleanDefault:
true
Example:
true
contentAiEnabled
booleanDefault:
true
Example:
true
refundsEnabled
booleanDefault:
true
Example:
true
recordPaymentEnabled
booleanDefault:
true
Example:
true
cancelSubscriptionEnabled
booleanDefault:
true
Example:
true
paymentsEnabled
booleanDefault:
true
Example:
true
communitiesEnabled
booleanDefault:
true
Example:
true
exportPaymentsEnabled
booleanDefault:
true
Example:
true
scopes
stringAllowed values:
campaigns.readonlycampaigns.writecalendars/events.writecalendars/events.readonlycontacts.writecontacts/bulkActions.writeworkflows.readonlyworkflows.writetriggers.writefunnels.writewebsites.writemedias.writemedias.readonlyopportunities.writeopportunities/leadValue.readonlyopportunities/bulkActions.writereporting/phone.readonlyreporting/adwords.readonlyreporting/facebookAds.readonlyreporting/attributions.readonlyreporting/agent.readonlyreporting/reports.writereporting/reports.readonlypayments.writepayments/refunds.writepayments/records.writepayments/exports.writepayments/subscriptionsCancel.writeinvoices.writeinvoices.readonlyinvoices/schedule.readonlyinvoices/schedule.writeinvoices/template.readonlyinvoices/template.writereputation/review.writereputation/listing.writeconversations.writeconversations.readonlyconversations/message.readonlyconversations/message.writecontentAI.writedashboard/stats.readonlylocations/tags.writelocations/tags.readonlymarketing.writeeliza.writesettings.writesocialplanner/post.writesocialplanner/account.readonlysocialplanner/account.writesocialplanner/category.readonlysocialplanner/category.writesocialplanner/csv.readonlysocialplanner/csv.writesocialplanner/group.writesocialplanner/hashtag.readonlysocialplanner/hashtag.writesocialplanner/oauth.readonlysocialplanner/oauth.writesocialplanner/post.readonlysocialplanner/recurring.readonlysocialplanner/recurring.writesocialplanner/review.readonlysocialplanner/review.writesocialplanner/rss.readonlysocialplanner/rss.writesocialplanner/search.readonlysocialplanner/setting.readonlysocialplanner/setting.writesocialplanner/stat.readonlysocialplanner/tag.readonlysocialplanner/tag.writesocialplanner/filters.readonlysocialplanner/medias.readonlysocialplanner/medias.writesocialplanner/watermarks.readonlysocialplanner/watermarks.writesocialplanner/metatag.readonlysocialplanner/facebook.readonlysocialplanner/linkedin.readonlysocialplanner/twitter.readonlysocialplanner/notification.readonlysocialplanner/notification.writesocialplanner/snapshot.readonlysocialplanner/snapshot.writemarketing/affiliate.writeblogs.writemembership.writecommunities.writecertificates.writecertificates.readonlyadPublishing.writeadPublishing.readonlyprospecting.writeprospecting.readonlyprospecting/reports.readonlyprivate-integration-location.readonlyprivate-integration-location.writeprivate-integration-company.readonlyprivate-integration-company.writenative-integrations.readonlynative-integrations.writewordpress.writewordpress.readcustom-menu-link.writeusers/team-management.writeusers/team-management.readonly
roles
objecttype
stringExample:
account
role
stringExample:
admin
locationIds
array[string]Example:
["ve9EPM428h8vShlRW1KT"]
restrictSubAccount
booleanExample:
true
lcPhone
objectLC Phone Inbound Phone Numbers
Example:
{"locationId":"+1234556677"}
422
Unprocessable Entity
Body
statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request