Change a team's or rep's hours
update_scheduleChange the weekly hours a team takes calls or a rep is available, and optionally the timezone they are read in. Only the days you pass change. Identify a team by team id (from get_settings with no arguments) or a rep by user id; with entity user and no id, your own schedule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The team id or user id. For entity user, omit to change your own schedule. | |
| days | Yes | The days to change; days left out keep their current hours. | |
| entity | Yes | team: a team's calling hours. user: a rep's availability. | |
| timezone | No | IANA timezone the hours are in, e.g. America/New_York. Omit to keep the current one. |