rfctl orgs update#
Update an existing organization in the CRM.
Synopsis#
rfctl orgs update <id> [flags]Arguments#
| Argument | Description |
|---|---|
id | The organization ID (required) |
Flags#
| Flag | Type | Description |
|---|---|---|
--name | string | Organization name |
--domain | string | Organization domain |
--industry | string | Industry |
--status | string | Status (lead, customer, churned) |
--size | int | Organization 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 200Output#
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