Chatwoot icon

Chatwoot

Interact with Chatwoot API to manage conversations, messages, contacts, and more

Actions206

Team → Update Agents

AI-generated

Summary

Replace all current members of a specified team with a new set of agents based on their user IDs.

Inputs

  • Team ID (required) — ID of the team to update
  • User IDs (required) — Comma-separated list of user IDs to set as the team's members, replacing all existing members

Output shape

a JSON object representing the updated team details with its new list of agents

The operation returns the updated team data. All previous team members are completely replaced by the user IDs provided.

Examples

Example 1: Update a team with ID 123 to have only agents with user IDs 1,2,3

Set Team ID to 123 and User IDs to '1,2,3' in the operation parameters

Links

Discussion