rfctl orgs update#

Update an existing organization in the CRM.

Synopsis#

rfctl orgs update <id> [flags]

Arguments#

ArgumentDescription
idThe organization ID (required)

Flags#

FlagTypeDescription
--namestringOrganization name
--domainstringOrganization domain
--industrystringIndustry
--statusstringStatus (lead, customer, churned)
--sizeintOrganization size (number of employees)

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

Examples#

Update organization name#

rfctl orgs update 1 --name "Acme Corporation"

Update multiple fields#

rfctl orgs update 1 \
  --status "customer" \
  --size 200

Output#

Returns JSON with the updated organization:

{
  "id": 1,
  "name": "Acme Corporation",
  "domain": "acme.com",
  "industry": "Technology",
  "status": "customer",
  "size": 200,
  "updated_at": "2024-01-20T14:45:00Z"
}

Errors#

If the organization is not found:

Organization not found: 1