Actions10
Update Organization
AI-generatedSummary
Update an existing organization in DocRouter.ai by specifying its ID and optionally modifying its name, type, and membership list.
Inputs
- Organization ID (required) — The ID of the organization to update.
- Name — The new name of the organization.
- Type — The new organization type; options are 'individual', 'team', or 'enterprise'.
- Members — A JSON array defining organization members with their user IDs and roles, e.g. [{"user_id":"...","role":"admin"},{"user_id":"...","role":"user"}]; must include at least one admin.
Output shape
a single item containing JSON with the updated organization's details as returned by the DocRouter.ai API
The node sends a PUT request to the organization's endpoint with provided fields; the output includes the updated organization data. If the 'Members' field is provided, it must be valid JSON or an error will be thrown. Operation requires the 'organizationId' to be specified.