Skip to main content
PATCH
Patch an agent (JSON Merge Patch — wholesale-replace arrays)

Authorizations

Authorization
string
header
required

Microsoft Entra ID JWT (staff) or OAuth2 client-credentials token issued by APIM (partners).

Headers

if-match
string

Optional. When provided, the server enforces optimistic concurrency: the request is rejected with 412 Precondition Failed if the resource was modified since this ETag was issued. Omit for last-write-wins behavior.

Path Parameters

id
string<uuid>
required

Body

application/json
firstName
string
Minimum string length: 1
lastName
string
Minimum string length: 1
primaryOfficeId
string<uuid>
displayName
string | null
primaryEmailAddress
string
Minimum string length: 1
signInUpn
string<email> | null
permissionLevel
string
Minimum string length: 1
agentUuid
string | null
sourceAgentId
string | null
externalPartnerIds
object[]
secondaryEmailAddress
string | null
leadRoutingEmailAddress
string | null
emailAddresses
object
emailAliases
string[]
mainPhoneNumber
string | null
mobilePhoneNumber
string | null
altPhoneNumber
string | null
faxPhoneNumber
string | null
mlsAgentId
string | null
license
string | null
licenseState
string | null
mlsName
string | null
mlsAbbreviation
string | null
availableMls
object[]
licenseStartDate
string | null
Pattern: ^\d{4}-\d{2}-\d{2}$
licenseRenewalDate
string | null
Pattern: ^\d{4}-\d{2}-\d{2}$
title
string | null
designations
string | null
bio
string | null
languages
string[]
serviceAreaZipCodes
string[]
areasOfService
string | null
profileImageUrl
string | null
profileThumbUrl
string | null
profileImageUrls
object
social
object
homePage
string | null
websiteBaseUrl
string | null
viewLevel
string | null
role
string | null
hasProductAccess
boolean
productAccess
object
profileVisibleOnline
boolean
includeInApi
boolean
tags
string[]
directoryCategory
string | null
Required string length: 1 - 50
emergencyContactName
string | null
emergencyContactPhone
string | null
dietaryRestrictions
string | null
childrenAndPets
string | null
birthday
string | null
Pattern: ^\d{4}-\d{2}-\d{2}$
namePronunciation
string | null
hireDate
string | null
Pattern: ^\d{4}-\d{2}-\d{2}$
importantDates
object[]
Maximum array length: 50
priorBrokerage
string | null
agentSubscriptions
string[]
internalNotes
string | null
officeWoboOptOut
boolean

The agent opts their own account out of Office WOBO: office-derived delegate access (via.office) never reaches them while true. Person-to-person grants are unaffected. officeWoboOptedOutAt is server-stamped when it becomes true and cleared when false. Internal (not visible to partners).

notificationPreferences
object | null
reactivationHistory
object[]
companyId
string | null
clientAuths
any[]
facebookAccountId
string | null
alternateInternalOfficeId
string | null
archetype
object | null

Response

200 - application/json

Default Response

id
string<uuid>
required
agentUuid
string | null
required
sourceAgentId
string | null
required
firstName
string
required
lastName
string
required
displayName
string | null
required
externalPartnerIds
object[]
required

Partner-system identifiers. Filtered by: partnerIdsFilter (staff see all; partners see entries matching their canonical partner_name and any granted_names).

primaryOfficeId
string<uuid>
required
primaryEmailAddress
string | null
required
signInUpn
string | null
required
secondaryEmailAddress
string | null
required
leadRoutingEmailAddress
string | null
required
emailAddresses
object
required
emailAliases
string[]
required
mainPhoneNumber
string | null
required
mobilePhoneNumber
string | null
required
altPhoneNumber
string | null
required
faxPhoneNumber
string | null
required
mlsAgentId
string | null
required
license
string | null
required
licenseState
string | null
required
mlsName
string | null
required
mlsAbbreviation
string | null
required
availableMls
object[]
required
licenseStartDate
string | null
required
licenseRenewalDate
string | null
required
title
string | null
required
designations
string | null
required
bio
string | null
required
languages
string[]
required
serviceAreaZipCodes
string[]
required
areasOfService
string | null
required
profileImageUrl
string | null
required
profileThumbUrl
string | null
required
profileImageUrls
object
required
social
object
required
homePage
string | null
required
websiteBaseUrl
string | null
required
permissionLevel
string
required
viewLevel
string | null
required
role
string | null
required
hasProductAccess
boolean
required
productAccess
object
required
profileVisibleOnline
boolean
required
includeInApi
boolean
required
tags
string[]
required
directoryCategory
string | null
required
region
object | null
required
createdAt
string<date-time>
required
deactivatedAt
string<date-time> | null
required
tosAcceptedAt
string<date-time> | null
required
officeWoboOptOut
boolean
required
officeWoboOptedOutAt
string<date-time> | null
required
lastUpdatedAt
string<date-time>
required
updatedAt
string<date-time>
required
reactivationHistory
object[]
required
companyId
string | null
required
facebookAccountId
string | null
required
alternateInternalOfficeId
string | null
required
primaryOffice
object | null
required
secondaryOffices
object[]
required
brokerage
object | null
required
changeLogSummary
object[]

Requires scope: agents.audit.read (staff trusted by default).

emergencyContactName
string | null

Requires scope: agents.read.internal (staff trusted by default).

emergencyContactPhone
string | null

Requires scope: agents.read.internal (staff trusted by default).

dietaryRestrictions
string | null

Requires scope: agents.read.internal (staff trusted by default).

childrenAndPets
string | null

Requires scope: agents.read.internal (staff trusted by default).

birthday
string | null

Requires scope: agents.read.internal (staff trusted by default).

namePronunciation
string | null
hireDate
string | null

Requires scope: agents.read.internal (staff trusted by default).

importantDates
object[]

Additional labelled dates (e.g. a role-change start). Requires scope: agents.read.internal (staff trusted by default).

archetype
object | null

Current Business Boost archetype (MCP-written). Staff-only, never shown to the agent: returned ONLY when explicitly projected with includeInternal=true&fields=archetype. Partners need agents.read.internal.

priorBrokerage
string | null

Requires scope: agents.read.internal (staff trusted by default).

agentSubscriptions
string[]

Requires scope: agents.read.internal (staff trusted by default).

internalNotes
string | null

Requires scope: agents.read.internal (staff trusted by default).

notificationPreferences
object | null

Requires scope: agents.read.internal for partners (staff trusted by default).

teams
object[]
delegateAccess
object[]
officeWoboAccessors
object[]