Skip to Content
API ReferenceOperatorsUpdate Operator

Update Operator

Modify an existing operator’s name, phone number, email, or active flag.

PATCHhttps://api.identitycall.ai/api/v1/public/operators/:id

Partial update — only the fields you supply are changed.

Requires write permission

Scope

API key scopeBehavior
Account-wideCan update any operator in the account
Project-scopedReturns 404 for operators not linked to the bound project

Path Parameters

Parameters

NameTypeRequiredDefaultDescription
idintegerYes-Operator ID

Request Body

Body Parameters (application/json)

NameTypeRequiredDefaultDescription
namestringNo-New full display name.
phone_numberstringNo-New phone number. Auto-normalized to E.164.
emailstringNo-Replace the contact email. Send `null` to clear.
activebooleanNo-Activate or deactivate the operator.

Request

curl -X PATCH "https://api.identitycall.ai/api/v1/public/operators/42" \ -H "Authorization: Bearer $IDENTITYCALL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "email": "jane.doe+work@example.com", "active": false }'

Response

Response200 OK
{
"data": {
  "id": 42,
  "name": "Jane Doe",
  "phone_number": "+15551234567",
  "email": "jane.doe+work@example.com",
  "active": false,
  "initials": "JD",
  "virtual_numbers": [
    {
      "id": 101,
      "phone_number": "+15558675309",
      "name": "Sales line",
      "active": true
    }
  ]
}
}

Response Fields

The same fields as Get Operator:

FieldTypeDescription
idintegerUnique operator ID
namestringFull display name
phone_numberstringE.164 normalized phone number
emailstring | nullContact email
activebooleanWhether the operator is active
initialsstringTwo-letter initials derived from name
virtual_numbersarrayVirtual number assignments

Errors

StatusErrorDescription
401”Invalid API key”Missing or unrecognized bearer token
403”Write permission required”API key lacks write permission
404”Resource not found”Operator doesn’t exist, or (for project-scoped keys) is not linked to the bound project
422["Phone number is invalid"]The supplied phone number could not be normalized
422["Name can't be blank"]An empty name was sent

See Also