POST
/
update_users
curl --request POST \
  --url https://api.carbon.ai/update_users \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "customer_ids": [
    "<string>"
  ],
  "auto_sync_enabled_sources": [
    "GOOGLE_DRIVE"
  ],
  "max_files": 0,
  "max_files_per_upload": 0
}'
{
  "success": true
}

Authorizations

authorization
string
headerrequired

Bearer <token>, corresponds to API keys.

Body

application/json
customer_ids
string[]
required

List of organization supplied user IDs

auto_sync_enabled_sources

List of data source types to enable auto sync for. Empty array will remove all sources and the string "ALL" will enable it for all data sources

Available options:
GOOGLE_DRIVE,
NOTION,
NOTION_DATABASE,
INTERCOM,
DROPBOX,
ONEDRIVE,
SHAREPOINT,
CONFLUENCE,
BOX,
ZENDESK,
ZOTERO,
S3,
GMAIL,
OUTLOOK,
TEXT,
CSV,
TSV,
PDF,
DOCX,
PPTX,
XLSX,
MD,
RTF,
JSON,
RAW_TEXT,
WEB_SCRAPE,
RSS_FEED,
FRESHDESK,
GITBOOK,
SALESFORCE,
GITHUB,
JPG,
PNG,
JPEG,
MP3,
MP4,
MP2,
AAC,
WAV,
FLAC,
PCM,
M4A,
OGG,
OPUS,
WEBM
max_files
integer | null

Custom file upload limit for the user over all user's files across all uploads. If set, then the user will not be allowed to upload more files than this limit. If not set, or if set to -1, then the user will have no limit.

max_files_per_upload
integer | null

Custom file upload limit for the user across a single upload. If set, then the user will not be allowed to upload more files than this limit in a single upload. If not set, or if set to -1, then the user will have no limit.

Response

200 - application/json
success
boolean
required