Skip to main content

Update User

Update details for an existing user.

HTTP Request​

PUT /v2/accounts/<account_sid>/users/<user_id>

Path Parameters​

ParameterDescription
user_idThe UUID of the user to update

Request Parameters​

ParameterRequiredDescription
first_nameNoUpdated first name (3–20 chars)
last_nameNoUpdated last name (3–20 chars)
emailNoCan only be set if not provided during creation

Code Examples​

curl -u '<api_key>:<api_token>' -X PUT 'https://ccm-api.exotel.com/v2/accounts/<account_sid>/users/<user_id>' \
-H 'Content-Type: application/json' \
-d '{"first_name": "John", "last_name": "Smith"}'

Response​

Returns the updated user object with the same structure as the Create User response.

Error Codes​

CodeHTTP StatusDescription
1002400Cannot update email (already set)
10814403KYC incomplete
10815403Trial account limitation