Skip to main content
PUT
Upsert a per-office role override for an agent

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

agent_id
string<uuid>
required
office_id
string<uuid>
required

Body

application/json
role
string
required
Minimum string length: 1

Response

200 - application/json

Default Response

agentId
string<uuid>
required
officeId
string<uuid>
required
role
string
required