rfctl contacts update#

Update an existing contact.

Synopsis#

rfctl contacts update <id> [flags]

Arguments#

ArgumentDescription
idThe contact ID (required)

Flags#

FlagTypeDescription
--first-namestringFirst name
--last-namestringLast name
--emailstringEmail address
--phonestringPhone number
--job-titlestringJob title
--primaryboolSet as primary contact

All flags are optional. Only specified fields will be updated.

Examples#

# Update email
rfctl contacts update 1 --email "newemail@acme.com"

# Set as primary contact
rfctl contacts update 1 --primary

Output#

Returns JSON with the updated contact:

{
  "id": 1,
  "first_name": "John",
  "last_name": "Doe",
  "email": "newemail@acme.com",
  "is_primary": true,
  "updated_at": "2024-01-20T14:45:00Z"
}