Skip to main content
Version: v2

Update a user

Update a user with the provided details.

PATCH/integrations/user/

Headers

NameValue
AuthorizationBearer Access Token
Content-Typeapplication/json

Query Parameters

NameTypeRequiredDescription
emailstringYesEmail of FreJun user

Payload

number
string

Phone number of User (E.164 format)

first_name
string

First name of user

last_name
string

Last name of user

is_active
boolean

To activate or deactivate the user

roles
Array of integers

Updated list of role ids of user. This will replace the older roles assigned to the user.

browser_calls
boolean

To enable or disable Browser Based calling for the user (without removing the licenses assigned to the user)

Response

{
"success": true,
"message": "Successfully updated user",
"data": {
"first_name": "<first_name>",
"last_name": "<last_name>",
"email": "<email>",
"is_active": true,
"roles": [
"list of role ids"
],
"number": {
"id": 328,
"country_code": "+91",
"phone_number": "812******",
"loc": "India",
"created_at": "<timestamp E.g, 2026-02-01T19:36:28.170456+5:30>"
},
"browser_calls": true
}
}