---
title: "Update User"
method: PUT
path: "/users/{id}"
tags: ["User"]
---

# Update User

`PUT /users/{id}`

### Update User Details

This endpoint allows the client to update the details of a specific user.

#### Request Body Parameters

- `id` (number): The unique identifier of the user.
    
- `username` (string): The username of the user.
    
- `email` (string): The email address of the user.
    
- `is_active` (number): Indicates if the user is active.
    
- `sip_uri` (string): The SIP URI of the user.
    
- `is_deleted` (number): Indicates if the user is deleted.
    
- `use_extended_ip_acl` (number): Indicates if the user uses extended IP ACL.
    
- `timezone_id` (number): The timezone identifier for the user.
    
- `first_name` (string): The first name of the user.
    
- `last_name` (string): The last name of the user.
    
- `virtual_extension` (string): The virtual extension of the user.
    
- `default_language` (string): The default language for the user.
    
    - `en_US` - English (United States)
        
    - `es_ES` - Spanish (Spain)
        
    - `pt_BR` - Portuguese (Brazil)
        
- `max_session_time` (string): The maximum session time for the user.
    
- `max_concurrent_sessions` (string): The maximum concurrent sessions for the user.
    
- `twofa_type` (string): The two-factor authentication type for the user.
    
    - `default` - Default from Role / Tenant
        
    - `disabled` - Disabled - login without 2FA
        
    - `email` - Email - with one-time code
        
    - `google` - Google 2FA App - with one-time code
        
- `member_all_desks` (string): Indicates if the user is a member of all desks.
    
- `use_webrtc` (number): Indicates if the user uses WebRTC.

## Request body

- object
  - `default_language` string
  - `email` string
  - `is_active` number
  - `is_deleted` number
  - `max_concurrent_sessions` number
  - `max_session_time` string
  - `member_all_desks` boolean
  - `member_all_skill_groups` string
  - `sip_uri` string
  - `twofa_type` string
  - `use_extended_ip_acl` string
  - `use_webrtc` number
  - `user_region` string
  - `username` string
  - `virtual_extension` string

## Response `200`

Successful operation

- object
  - `users` object[]
    - `auto_dial` string
    - `default_language` string
    - `desks` object
      - `1` string
    - `email` string
    - `first_name` string
    - `id` string
    - `is_active` string
    - `is_deleted` string
    - `last_name` string
    - `max_concurrent_sessions` string
    - `max_session_time` string
    - `member_all_desks` string
    - `registration_password` string
    - `roles` object
      - `2` string
    - `sip_option` string
    - `sip_uri` string
    - `timezone_id` string
    - `twofa_type` string
    - `use_extended_ip_acl` string
    - `use_webrtc` string
    - `user_region` string
    - `username` string
    - `virtual_extension` string

## Other responses

- `404` — Error

---

[API](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1.md) · [All operations](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/commpeak/dialer-api-v2-0-1/revisions/eacecf960bb6/schema)
