companies_set_active
Sets the organization's active company using its UUID and returns the updated company list, enabling users to switch the active company for invoice and client workflows.
Instructions
Set the organization-level active company by UUID. Calls PUT /api/v1/companies/{uuid}/set-active on the server and returns the updated list of all companies with the new active company reflected. Requires COMPANY_EDIT permission. Use companies_list first to find available company UUIDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | Company UUID to mark as the active company for the organization. |