update_agent
Updates an existing agent's profile details such as name, email, roles, teams, and availability status.
Instructions
Update Agent PUT /api/v1/agents/{id} Tags: Agents
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | (path parameter) | |
| first_name | Yes | (body) Agent's first name | |
| last_name | No | (body) Agent's last name | |
| Yes | (body) Agent's email address | ||
| roles | Yes | (body) Roles assigned to the agent | |
| send_welcome_email | No | (body) Only used during agent creation to send welcome email | |
| teams | No | (body) Team IDs to assign agent to | |
| enabled | No | (body) Whether agent is enabled | |
| availability_status | No | (body) Agent's availability status | |
| new_password | No | (body) Agent's new password, Optional |