To use this route you need access to the Administrative section "Members". To change external membership, send {"is_external_member": true} or false. When is_external_member is present, other writable user fields in the same request are ignored, with one exception: a user without Kaiten access can be reactivated by also sending apps_permissions = 1 (paid member) or 5 (paid member with Service Desk access). Activation and external membership are saved atomically after checking permissions, available licences and user locks; existing Service Desk access is preserved. For users who already have Kaiten access, apps_permissions is still ignored when is_external_member is present. Setting true requires members.externalUsers and a non-virtual paid member other than the owner or caller; for reactivation, the resulting paid access is checked. Clearing is allowed on any tariff, including inactive users. Both values set external_source to manual; clients cannot write external_source. If external members remain without the capability, All users grants no permissions to anyone until all flags are cleared or the capability is restored. Existing permission cache TTLs still apply. Ownership transfer (role = 1) returns HTTP 400 while the target user is external; clear is_external_member in a separate request first.
Virtual users cannot be external. PATCH with is_external_member = true returns HTTP 400 for an existing virtual user, even if virtual = false or apps_permissions is included in the same request. POST /company/users also rejects creating a virtual external user and inviting an existing virtual user by email with is_external_member = true, including invitations from another company or to a specific space. Rejected requests do not create a membership or change the existing external flag.
| Name | Type | Reference |
|---|---|---|
| idrequired | integer | User ID |
| Name | Value |
|---|---|
| Content-Type | application/json |
| Name | Type | Constraints | Description |
|---|---|---|---|
permissions | integer | Direct company permissions (bit mask). A request containing only this field preserves existing named-only grants such as mcpConnections. Ignored when named_permissions is also supplied. Send only one permission format per PATCH request. | |
apps_permissions | integer | User access. 0 - no access, 1 - full access to Kaiten, access to service desk denied. 2 - guest access to Kaiten, access to service desk denied. 4 - access only to service desk. 5 - full access to Kaiten and service desk. 6 - guest access to Kaiten, access to service desk | |
temporarily_inactive | boolean | Temporarily inactive: user is still in company, but can't sign in and doesn't need a license | |
named_permissions | object | Partial update of the user's currently stored direct company permissions. Supplied names replace their current values; omitted names are preserved. If permissions is also supplied, its numeric mask is ignored, even when it is 0. Send only one permission format per PATCH request and use own_named_permissions in the response to check direct grants. Boolean values only. False removes a direct grant but does not deny access inherited through a group. See the company permissions reference. |
| Description | Response type | Example |
|---|---|---|
| Success | Object |
| Name | Type | Description |
|---|---|---|
| is_external_member | boolean | Company-scoped external membership flag, separate from the Service Desk external flag. Returned only to Members administrators for other users. External users keep direct and named-group access but do not receive All users permissions. |
| external_source | string | Read-only source. Manual true and manual false remain manual. SSO assignment is not supported in this release. |
| id | integer | Id |
| uid | string | Uid |
| full_name | string | User full name |
string | User email | |
| username | string | Username for mentions and login |
| avatar_initials_url | string | Default user avatar url |
| avatar_uploaded_url | string | null | User uploaded avatar url |
| initials | string | User initials |
| avatar_type | enum | 1 – gravatar, 2 – initials, 3 - uploaded |
| lng | string | Language |
| timezone | string | Time zone |
| theme | string | light - light color theme, dark - dark color theme, auto - color theme based on OS settings |
| updated | string | Last update timestamp |
| created | string | Create date |
| activated | boolean | User activated flag |
| ui_version | integer | 1 - old ui. 2 - new ui |
| virtual | boolean | Is user virtual |
| email_blocked | string | Email blocked timestamp |
| email_blocked_reason | string | Email blocked reason |
| delete_requested_at | string | Timestamp of delete request |
| user_id | integer | User id |
| company_id | integer | Company id |
| default_space_id | null | integer | Default space |
| role | enum | User role in company: 1 - owner, 2 - user, 3 - deactivated |
| permissions | integer | Direct numeric company permissions, without group grants. A request containing only permissions preserves existing named-only grants such as mcpConnections. Known limitation: when both permission formats are supplied, this response may echo the requested numeric mask even though it was not stored. Use own_named_permissions to check stored direct grants and named_permissions for effective access. |
| apps_permissions | string | 0 - no access, 1 - full access to Kaiten, access to service desk denied. 2 - guest access to Kaiten, access to service desk denied. 4 - access only to service desk. 5 - full access to Kaiten and service desk. 6 - guest access to Kaiten, access to service desk |
| email_frequency | enum | 1 - never, 2 – instantly |
| email_settings | object | Email settings |
| slack_id | null || integer | User slack id |
| slack_settings | null || object | Slack settings |
| slack_private_channel_id | null | integer | User slack private channel id |
| telegram_sd_bot_enabled | boolean | Telegram bot enable flag |
| external | boolean | Is user external |
| notification_settings | object | Per-event notification settings. The fields below are examples. Meeting recording and transcription notifications each default to inner, mobile_app and email when their key is absent. An empty array disables that event. Delivery requires the channel to be enabled on the installation and in notification_enabled_channels. The slack, telegram and max_messenger channels require a connected account, mobile_app requires a logged-in device, and email requires an unblocked address. |
| work_time_settings | object | Work time settings |
| invite_last_sent_at | string | Last invite date |
| last_request_date | null | string | Date of last request |
| last_request_method | null | string | Type of last request |
| notification_enabled_channels | array | List of enabled channels for notifications |
| personal_settings | object | Personal settings |
| locked | boolean | Is user locked for update |
| temporarily_inactive | boolean | Temporarily inactive: user is still in company, but can't sign in and doesn't need a license |
| named_permissions | object | The map contains every permission name supported by the server; ungranted permissions are false. Contains effective permissions in the current company, including active group and default-group grants. Owners have all supported permissions. The MCP field below is one example; see the named company permissions reference linked above. Named-only permissions have no bit in the integer permissions mask. |
| own_named_permissions | object | The map contains every permission name supported by the server; ungranted permissions are false. Contains permissions granted directly to the user in the current company, without group grants. Owners have all supported permissions. The MCP field below is one example; see the named company permissions reference linked above. |
| Description | Response type | Example |
|---|---|---|
| Validation error. Permission updates may return these message values: "Unknown or invalid named permission" for a value other than an object of booleans (older servers may also reject unknown names); "User is locked" when the user is locked; "Guest user has no permissions" when changing a guest user's company permissions. | Object |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
| Description | Response type | Example |
|---|---|---|
| Invalid token | String |
| Description | Response type | Example |
|---|---|---|
| Forbidden | Response body does not exist |
| Description | Response type | Example |
|---|---|---|
| Not found | Response body does not exist |
How to deactivate user
{
"apps_permissions": 0
}How to temporarily deactivate user
{
"temporarily_inactive": true
}How to temporarily activate user
{
"temporarily_inactive": false
}Grant MCP administration directly to the user without changing other named permissions. Set mcpConnections to false to remove this grant.
{
"named_permissions": {
"mcpConnections": true
}
}Path Parameters
1 curl --request PATCH \
2 --url 'https://example.kaiten.ru/api/latest/company/users/{id}' \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: application/json'
5 Response
ClickTry It!to start a request and see the response here!