Actions115
- Account Actions
- Agent Actions
- Agent Bot Actions
- Audit Log Actions
- Automation Rule Actions
- Campaign Actions
- Canned Response Actions
- Chat Room Actions
- Contact Actions
- Conversation Actions
- Custom Attribute Actions
- Custom Filter Actions
- Inbox Actions
- Integration Actions
- Message Actions
- Profile Actions
- Scheduled Message Actions
- Team Actions
- Webhook Actions
Team → Update Agents
AI-generatedSummary
Update the list of agent user IDs for a specific team by replacing them with a provided JSON array of user IDs.
Inputs
- Team ID (required) — Numeric ID of the team to update.
- User IDs (required) — JSON array containing the IDs of users to set as the team's agents.
Output shape
a single record representing the updated team agents data returned from the API
The operation requires both the Team ID and a JSON array of user IDs. It updates the team's agents list in bulk by overwriting it with the supplied array.