Skip to content
PATCH /unified/user-directory/users/{id}

Path Parameters

idstring
required·

The ID of the resource.

Example: 23423523

Query Parameters

Refer Specifying query parameters in Truto APIs

organization_idstring
4 supported4 required2 notes
Cisco Meraki
required
ClickUp
required

The ID of the organization to update the user in

Snyk
required
Trello
required

The unique identifier for the organization

workspace_id
2 supported1 required
Cisco Meraki
required
GitLab
supported
group_id
1 supported
GitLab
supported
workspace
2 supported2 required
Power BI
required
WordPress
required
user_idstring

The unique identifier of a user

1 supported1 required
Torii
required
groupsobject[]

The groups of the user

14 supported1 required
Vercel
required
BigPanda
supported
Canva
supported
Databricks
supported
Files.com
supported
Freshcaller
supported
Freshservice
supported
GitLab
supported
JFrog
supported
KnowBe4
supported
Paralus
supported
Salesloft
supported
SolarWinds Service Desk
supported
Vanta
supported
idstring

The unique identifier for a group

namestring

The name of the group

organizationstring

The unique identifier of the organization to which the group belongs

Show Truto-specific parameters
integrated_account_idstring · uuid
required·

The ID of the integrated account to use for the request.

Example: 62f44730-dd91-461e-bd6a-aedd9e0ad79d
truto_response_formatstring

The format of the response.

  • unified returns the response with unified mappings applied.
  • raw returns the unprocessed, raw response from the remote API.
  • normalized applies the unified mappings and returns the data in a normalized format.
  • stream returns the response as a stream, which is ideal for transmitting large datasets, files, or binary data. Using streaming mode helps to efficiently handle large payloads or real-time data flows without requiring the entire data to be buffered in memory.

Defaults to unified.

Example: unified
Possible values:
unifiedrawnormalizedstream
truto_ignore_remote_databoolean

Excludes the remote_data attribute from the response.

truto_exclude_fieldsstring[]

Array of fields to exclude from the response.

Example: truto_exclude_fields[]=id&truto_exclude_fields[]=name
remote_queryRecord<string, any>

Query parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.

Example: remote_query[foo]=bar

Request Body

Refer Writing data using Unified APIs

idstring
required·

The unique identifier for a user

39 supported
ActiveCampaign
supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
CrowdStrike
supported
Databricks
supported
Datadog
supported
Domo
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
HubSpot
supported
JFrog
supported
juniper-mist
supported
KnowBe4
supported
Opsgenie
supported
Paralus
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Snyk
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Tableau
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Vercel
supported
Webex
supported
active
1 supported
Databricks
supported
avatarstring

The avatar of the user

12 supported
Canva
supported
ClickUp
supported
Datadog
supported
Files.com
supported
Fivetran
supported
GitLab
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
SurveySparrow
supported
Teamwork Desk
supported
Webex
supported
created_atstring · date-time

The date and time the user was created

26 supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Datadog
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
HubSpot
supported
KnowBe4
supported
Opsgenie
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
description
1 supported
Files.com
supported
email
1 supported1 required
ActiveCampaign
required
email_addresses
1 supported
Airtable
supported
emailsobject[]

The emails of the user

36 supported1 required
Paralus
required
ActiveCampaign
supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Databricks
supported
Datadog
supported
Domo
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
JFrog
supported
juniper-mist
supported
KnowBe4
supported
Opsgenie
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Snyk
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Tableau
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
emailstring

The email address

is_primaryboolean

Whether the email address is primary

typestring

The type of email address

first_namestring

The first name of the user

23 supported1 required
Paralus
required
ActiveCampaign
supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
CrowdStrike
supported
Databricks
supported
Drive Wealth
supported
Fivetran
supported
Freshservice
supported
HubSpot
supported
juniper-mist
supported
KnowBe4
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
groupinteger
1 supported1 required
ActiveCampaign
required
groupsobject[]

The groups of the user

14 supported
BigPanda
supported
Canva
supported
Databricks
supported
Files.com
supported
Freshcaller
supported
Freshservice
supported
GitLab
supported
JFrog
supported
KnowBe4
supported
Paralus
supported
Salesloft
supported
SolarWinds Service Desk
supported
Vanta
supported
Vercel
supported
idstring

The unique identifier for a group

namestring

The name of the group

organizationstring

The unique identifier of the organization to which the group belongs

languagesstring[]

The languages preferred by the user

9 supported
ActiveCampaign
supported
Canva
supported
Files.com
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
KnowBe4
supported
Opsgenie
supported
Salesforce
supported
last_namestring

The last name of the user

23 supported1 required
Paralus
required
ActiveCampaign
supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
CrowdStrike
supported
Databricks
supported
Drive Wealth
supported
Fivetran
supported
Freshservice
supported
HubSpot
supported
juniper-mist
supported
KnowBe4
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
licensed_sheet_creatorboolean

Whether the user is a licensed user.

1 supported
Smartsheet
supported
licensesobject[]

The licenses of the user or the products the user has access to

15 supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
KnowBe4
supported
Pipedrive
supported
Salesloft
supported
Smartsheet
supported
Tableau
supported
Teamwork Desk
supported
Webex
supported
idstring

The unique identifier for a license

last_active_atstring · date-time

The date and time the user was last active for the license

namestring

The name of the license

organizationstring

The unique identifier of the organization to which the license belongs

namestring

The name of the user

36 supported1 required
ActiveCampaign
required
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Databricks
supported
Datadog
supported
Domo
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
JFrog
supported
juniper-mist
supported
KnowBe4
supported
Opsgenie
supported
Paralus
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Snyk
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Tableau
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
organizationsobject[]

The organizations of the user

4 supported
Avalara AvaTax
supported
Cisco Meraki
supported
Torii
supported
Webex
supported
idstring

The unique identifier for an organization

namestring

The name of the organization

passwordstring
1 supported1 required
ActiveCampaign
required
phonesobject[]

The phones of the user

15 supported
ActiveCampaign
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Drive Wealth
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
KnowBe4
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
numberstring
required·

The phone number

typestring
required·

The type of phone number

Possible values:
phonemobile
extensionstring

The extension of the phone number

remote_dataRecord<string, any>

Any additional data that should be passed as part of the request body. This data is not transformed by Truto and is passed as is to the remote API.

rolesobject[]

The roles of the user

32 supported4 required
ClickUp
required
Looker
required
Tableau
required
Trello
required
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
Canva
supported
Cisco Meraki
supported
Databricks
supported
Datadog
supported
Domo
supported
Files.com
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
HubSpot
supported
juniper-mist
supported
KnowBe4
supported
Opsgenie
supported
Paralus
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Snyk
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Teamwork Desk
supported
Torii
supported
Webex
supported
namestring
required·

The name of the role

Possible values:
admingroup_admin
groupstring

The role of the user in the group. This is available when the user can have different roles in different groups or teams in an application.

idstring

The unique identifier for a role

Possible values:
admingroup_admin
organizationstring

The role of the user in the organization. This is available when the user can have different roles in different organizations in an application.

workspacestring

The role of the user in the workspace. This is available when the user can have different roles in different workspaces in an application.

statusstring

lifecycle status of the user

Possible values:
activeinactivedeletedinvitedactiveinactiveactiveinactivedeletedactiveactiveinactive+ 4 more
30 supported1 required
Torii
required
BigPanda
supported
activeinactive
BlackLine
supported
activeinactive
Freshcaller
supported
deletedactive
SolarWinds Service Desk
supported
activeinactive
Avalara AvaTax
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Databricks
supported
Datadog
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
HubSpot
supported
JFrog
supported
KnowBe4
supported
Paralus
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Tableau
supported
Teamwork Desk
supported
Vanta
supported
Webex
supported
timezonestring

The timezone of the user

11 supported
ActiveCampaign
supported
Canva
supported
Files.com
supported
Freshdesk
supported
Freshservice
supported
KnowBe4
supported
Opsgenie
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
titlestring

The title of the user

9 supported
BlackLine
supported
Canva
supported
Freshservice
supported
KnowBe4
supported
Pipeliner
supported
Salesloft
supported
SolarWinds Service Desk
supported
Vanta
supported
Webex
supported
urlsobject[]

The URLs of the user

1 supported
Canva
supported
typestring

The type of URL

urlstring

The URL

user_typestring

The type of user

2 supported
Canva
supported
Webex
supported
usernamestring

The username of the user

15 supported1 required
ClickUp
required
ActiveCampaign
supported
Avalara AvaTax
supported
BigPanda
supported
Canva
supported
Databricks
supported
Datadog
supported
Domo
supported
Files.com
supported
GitLab
supported
JFrog
supported
Opsgenie
supported
Paralus
supported
Salesforce
supported
Snyk
supported
workspacesobject[]

The workspaces of the user

3 supported
Avalara AvaTax
supported
Cisco Meraki
supported
GitLab
supported
idstring

The unique identifier for a workspace

namestring

The name of the workspaces

Response Body

idstring
required·

The unique identifier for a user

39 supported
ActiveCampaign
supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
CrowdStrike
supported
Databricks
supported
Datadog
supported
Domo
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
HubSpot
supported
JFrog
supported
juniper-mist
supported
KnowBe4
supported
Opsgenie
supported
Paralus
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Snyk
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Tableau
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Vercel
supported
Webex
supported
activated_atstring · date-time

The date and time the user was activated

2 supported
Drive Wealth
supported
Files.com
supported
avatarstring

The avatar of the user

12 supported
Canva
supported
ClickUp
supported
Datadog
supported
Files.com
supported
Fivetran
supported
GitLab
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
SurveySparrow
supported
Teamwork Desk
supported
Webex
supported
biostring

The bio of the user. Usually a short description set by the user about them.

2 supported
Datadog
supported
Salesforce
supported
created_atstring · date-time

The date and time the user was created

26 supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Datadog
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
HubSpot
supported
KnowBe4
supported
Opsgenie
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
emailsobject[]

The emails of the user

35 supported
ActiveCampaign
supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Databricks
supported
Datadog
supported
Domo
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
JFrog
supported
juniper-mist
supported
KnowBe4
supported
Opsgenie
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Snyk
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Tableau
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
emailstring

The email address

is_primaryboolean

Whether the email address is primary

typestring

The type of email address

external_idstring

The external identifier for a user. This is set when the SCIM API is being used.

2 supported
BigPanda
supported
Canva
supported
first_namestring

The first name of the user

23 supported
ActiveCampaign
supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
CrowdStrike
supported
Databricks
supported
Drive Wealth
supported
Fivetran
supported
Freshservice
supported
HubSpot
supported
juniper-mist
supported
KnowBe4
supported
Paralus
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
groupsobject[]

The groups of the user

14 supported
BigPanda
supported
Canva
supported
Databricks
supported
Files.com
supported
Freshcaller
supported
Freshservice
supported
GitLab
supported
JFrog
supported
KnowBe4
supported
Paralus
supported
Salesloft
supported
SolarWinds Service Desk
supported
Vanta
supported
Vercel
supported
idstring

The unique identifier for a group

namestring

The name of the group

organizationstring

The unique identifier of the organization to which the group belongs

identifiersRecord<string, any>

The identifiers of the user.

1 supported
Drive Wealth
supported
is_2fa_enabledboolean

Whether the user has 2FA enabled

3 supported
Cisco Meraki
supported
Files.com
supported
KnowBe4
supported
is_email_verifiedboolean

Whether the user's email has been verified

5 supported
Cisco Meraki
supported
Datadog
supported
Fivetran
supported
Opsgenie
supported
SurveySparrow
supported
languagesstring[]

The languages preferred by the user

9 supported
ActiveCampaign
supported
Canva
supported
Files.com
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
KnowBe4
supported
Opsgenie
supported
Salesforce
supported
last_active_atstring · date-time

The date and time the user was last active

8 supported
Cisco Meraki
supported
ClickUp
supported
Datadog
supported
Files.com
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
Pipeliner
supported
last_login_atstring · date-time

The date and time the user was last logged in

14 supported
Adobe Marketo Engage
supported
Datadog
supported
Files.com
supported
Fivetran
supported
Freshdesk
supported
Freshservice
supported
HubSpot
supported
KnowBe4
supported
Paralus
supported
Pipedrive
supported
Salesforce
supported
Smartsheet
supported
SolarWinds Service Desk
supported
Tableau
supported
last_namestring

The last name of the user

23 supported
ActiveCampaign
supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
CrowdStrike
supported
Databricks
supported
Drive Wealth
supported
Fivetran
supported
Freshservice
supported
HubSpot
supported
juniper-mist
supported
KnowBe4
supported
Paralus
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
licensesobject[]

The licenses of the user or the products the user has access to

15 supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
KnowBe4
supported
Pipedrive
supported
Salesloft
supported
Smartsheet
supported
Tableau
supported
Teamwork Desk
supported
Webex
supported
idstring

The unique identifier for a license

last_active_atstring · date-time

The date and time the user was last active for the license

namestring

The name of the license

organizationstring

The unique identifier of the organization to which the license belongs

namestring

The name of the user

36 supported
ActiveCampaign
supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Databricks
supported
Datadog
supported
Domo
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
JFrog
supported
juniper-mist
supported
KnowBe4
supported
Opsgenie
supported
Paralus
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Snyk
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Tableau
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
organizationsobject[]

The organizations of the user

4 supported
Avalara AvaTax
supported
Cisco Meraki
supported
Torii
supported
Webex
supported
idstring

The unique identifier for an organization

namestring

The name of the organization

phonesobject[]

The phones of the user

15 supported
ActiveCampaign
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Drive Wealth
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
KnowBe4
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
extensionstring

The extension of the phone number

numberstring

The phone number

typestring

The type of phone number

remote_dataRecord<string, any>

Raw data returned from the remote API call.

rolesobject[]

The roles of the user

30 supported
Adobe Marketo Engage
supported
Avalara AvaTax
supported
BigPanda
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Databricks
supported
Datadog
supported
Domo
supported
Files.com
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
HubSpot
supported
juniper-mist
supported
KnowBe4
supported
Opsgenie
supported
Paralus
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
Snyk
supported
SolarWinds Service Desk
supported
SurveySparrow
supported
Tableau
supported
Teamwork Desk
supported
Torii
supported
Webex
supported
groupstring

The role of the user in the group. This is available when the user can have different roles in different groups or teams in an application.

idstring

The unique identifier for a role

namestring

The name of the role

organizationstring

The role of the user in the organization. This is available when the user can have different roles in different organizations in an application.

workspacestring

The role of the user in the workspace. This is available when the user can have different roles in different workspaces in an application.

statusstring

The status of the user. If no clear mapping is available, then the raw value is returned.

Possible values:
activeinactivedeletedinvited
30 supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Cisco Meraki
supported
ClickUp
supported
Databricks
supported
Datadog
supported
Drive Wealth
supported
Files.com
supported
Fivetran
supported
Freshcaller
supported
Freshdesk
supported
Freshservice
supported
GitLab
supported
HubSpot
supported
JFrog
supported
KnowBe4
supported
Paralus
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
Smartsheet
supported
SolarWinds Service Desk
supported
Tableau
supported
Teamwork Desk
supported
Torii
supported
Vanta
supported
Webex
supported
status_changed_atstring · date-time

The date and time the user's status was last changed

timezonestring

The timezone of the user

11 supported
ActiveCampaign
supported
Canva
supported
Files.com
supported
Freshdesk
supported
Freshservice
supported
KnowBe4
supported
Opsgenie
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
titlestring

The title of the user

9 supported
BlackLine
supported
Canva
supported
Freshservice
supported
KnowBe4
supported
Pipeliner
supported
Salesloft
supported
SolarWinds Service Desk
supported
Vanta
supported
Webex
supported
updated_atstring · date-time

The date and time the user was last updated

17 supported
Avalara AvaTax
supported
BigPanda
supported
BlackLine
supported
Canva
supported
Datadog
supported
Drive Wealth
supported
Freshdesk
supported
Freshservice
supported
HubSpot
supported
KnowBe4
supported
Pipedrive
supported
Pipeliner
supported
Salesforce
supported
Salesloft
supported
SolarWinds Service Desk
supported
Teamwork Desk
supported
Webex
supported
urlsobject[]

The URLs of the user

1 supported
Canva
supported
typestring

The type of URL

urlstring

The URL

user_typestring

The type of user

2 supported
Canva
supported
Webex
supported
usernamestring

The username of the user

15 supported
ActiveCampaign
supported
Avalara AvaTax
supported
BigPanda
supported
Canva
supported
ClickUp
supported
Databricks
supported
Datadog
supported
Domo
supported
Files.com
supported
GitLab
supported
JFrog
supported
Opsgenie
supported
Paralus
supported
Salesforce
supported
Snyk
supported
workspacesobject[]

The workspaces of the user

3 supported
Avalara AvaTax
supported
Cisco Meraki
supported
GitLab
supported
idstring

The unique identifier for a workspace

namestring

The name of the workspaces

curl -X PATCH 'https://api.truto.one/unified/user-directory/users/{id}?integrated_account_id=<integrated_account_id>' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "your_name",
  "password": "your_password",
  "group": 0,
  "roles": [],
  "first_name": "your_first_name",
  "last_name": "your_last_name",
  "username": "your_username",
  "emails": [],
  "workspaces": [],
  "status": "active",
  "phones": [],
  "title": "your_title",
  "groups": [],
  "timezone": "your_timezone",
  "avatar": "your_avatar",
  "languages": [],
  "user_type": "your_user_type",
  "licensed_sheet_creator": true,
  "organizations": [],
  "created_at": "your_created_at",
  "licenses": [],
  "id": "your_id",
  "urls": [],
  "remote_data": {}
}'
const integratedAccountId = '<integrated_account_id>';

const body = {
  "name": "your_name",
  "password": "your_password",
  "group": 0,
  "roles": [],
  "first_name": "your_first_name",
  "last_name": "your_last_name",
  "username": "your_username",
  "emails": [],
  "workspaces": [],
  "status": "active",
  "phones": [],
  "title": "your_title",
  "groups": [],
  "timezone": "your_timezone",
  "avatar": "your_avatar",
  "languages": [],
  "user_type": "your_user_type",
  "licensed_sheet_creator": true,
  "organizations": [],
  "created_at": "your_created_at",
  "licenses": [],
  "id": "your_id",
  "urls": [],
  "remote_data": {}
};

const response = await fetch(`https://api.truto.one/unified/user-directory/users/{id}?integrated_account_id=${integratedAccountId}`, {
  method: 'PATCH',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(body),
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/unified/user-directory/users/{id}"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
    "integrated_account_id": "<integrated_account_id>"
}
payload = {
    "name": "your_name",
    "password": "your_password",
    "group": 0,
    "roles": [],
    "first_name": "your_first_name",
    "last_name": "your_last_name",
    "username": "your_username",
    "emails": [],
    "workspaces": [],
    "status": "active",
    "phones": [],
    "title": "your_title",
    "groups": [],
    "timezone": "your_timezone",
    "avatar": "your_avatar",
    "languages": [],
    "user_type": "your_user_type",
    "licensed_sheet_creator": True,
    "organizations": [],
    "created_at": "your_created_at",
    "licenses": [],
    "id": "your_id",
    "urls": [],
    "remote_data": {}
}

response = requests.patch(url, headers=headers, params=params, json=payload)
print(response.json())
import Truto from '@truto/truto-ts-sdk';

const truto = new Truto({
  token: '<your_api_token>',
});

const result = await truto.unifiedApi.update(
  'user-directory',
  'users',
  '<resource_id>',
  {
  "name": "your_name",
  "password": "your_password",
  "group": 0,
  "roles": [],
  "first_name": "your_first_name",
  "last_name": "your_last_name",
  "username": "your_username",
  "emails": [],
  "workspaces": [],
  "status": "active",
  "phones": [],
  "title": "your_title",
  "groups": [],
  "timezone": "your_timezone",
  "avatar": "your_avatar",
  "languages": [],
  "user_type": "your_user_type",
  "licensed_sheet_creator": true,
  "organizations": [],
  "created_at": "your_created_at",
  "licenses": [],
  "id": "your_id",
  "urls": [],
  "remote_data": {}
},
  { integrated_account_id: '<integrated_account_id>' }
);

console.log(result);
import asyncio
from truto_python_sdk import TrutoApi

truto_api = TrutoApi(token="<your_api_token>")

async def main():
    result = await truto_api.unified_api.update(
        "user-directory",
        "users",
        "<resource_id>",
        {
        "name": "your_name",
        "password": "your_password",
        "group": 0,
        "roles": [],
        "first_name": "your_first_name",
        "last_name": "your_last_name",
        "username": "your_username",
        "emails": [],
        "workspaces": [],
        "status": "active",
        "phones": [],
        "title": "your_title",
        "groups": [],
        "timezone": "your_timezone",
        "avatar": "your_avatar",
        "languages": [],
        "user_type": "your_user_type",
        "licensed_sheet_creator": True,
        "organizations": [],
        "created_at": "your_created_at",
        "licenses": [],
        "id": "your_id",
        "urls": [],
        "remote_data": {}
},
        {"integrated_account_id": "<integrated_account_id>"}
    )
    print(result)

asyncio.run(main())