Skip to main content
PATCH
Update a company

Authorizations

Authorization
string
header
required

OAuth 2.1 access token.

Path Parameters

id
string<uuid>
required

UUID of the resource.

Body

application/json

All fields are optional. Only fields included in the body are modified.

full_name
string
Maximum string length: 70
emails
object[]
phones
object[]
owner_email
string<email> | null

Email of the workspace member to set as owner. Pass null to remove the owner. Must be a member of this workspace.

Example:

"joao@company.com"

avatar_image
string

Public HTTPS URL or full base64 data URI of the image (e.g. data:image/png;base64,...). Replaces the current avatar. Accepted formats: JPEG, PNG, WebP, GIF, BMP, TIFF.

Example:

"data:image/png;base64,iVBORw0KGgo..."

tags
string[]

Tag names (keys) to associate. Behavior depends on association_mode. If a tag doesn't exist, it will be automatically created.

Required string length: 1 - 30
list_ids
string<uuid>[]

List IDs to associate. Behavior depends on association_mode.

custom_fields
object[]

Custom field values. Behavior depends on association_mode. In append mode, replaces the value for each field_key sent without touching others.

association_mode
enum<string>
default:append

Controls how associations (tags, list_ids, custom_fields) are applied. append: adds new associations without removing existing ones. replace: removes all current associations of each sent type and inserts the new ones. Sending an empty array with replace removes all associations of that type.

Available options:
append,
replace

Response

Company updated successfully.

data
object