Update user info
Updates the profile information of a specified user.
https://YOUR-NETWORK-DOMAIN/rest-api/user/update.do Updates the profile information of a specified user. Only admin-role users can call this endpoint. The fields to update are provided as form parameters (login, password, firstName, lastName, email, phone, country, state, company, websiteUrl, active, receiveNewsletter, receiveNotificationsByEmail, role, adsHost, referer, uiStyle, comments, aiChatMonthlyLimitUsd). Only non-null fields are applied; null fields are left unchanged, except aiChatMonthlyLimitUsd, which an empty value clears. The login and email must be unique across the system. Role changes are validated against the caller's manageable roles. A country code or role id that does not exist is reported in errors.country / errors.role and nothing is saved.
Form Params
usernameToUpdate string required
Username (login) of the target user whose profile should be updated. The user must exist in the system
john.doe active boolean
Whether the user account is active
true adsHost string
Ad serving host domain
ads.example.com aiChatMonthlyLimitUsd string
The user's monthly AI assistant budget in billed USD, 0 to 1000000. Send it empty to clear it, so the network default applies; leave it out to keep the current value.
50 comments string
Admin comments about the user
VIP client, priority support company string
Company name
Acme Inc. country string
Two-letter country code (ISO 3166-1 alpha-2)
US email string
User email address
john@example.com firstName string
First name
John lastName string
User's last (family) name
Doe login string
User login name (username)
john.doe password string
User password (8-64 characters)
s3cur3P@ss phone string
Phone number
+1 (555) 123-4567 receiveNewsletter boolean
Whether the user receives newsletters
true receiveNotificationsByEmail boolean
Whether the user receives notifications by email
true referer string
Referrer URL or identifier
https://partner.com role integer
User role ID
3 state string
State or region name
California uiStyle string
UI style preference
TREES websiteUrl string
Website URL
https://example.com Responses
200
Operation result with success status
400
Bad request — invalid or missing parameters
401
Authentication error
403
Forbidden — insufficient permissions