---
title: "Update Agent Working Hours By Id"
method: PUT
path: "/agent-working-hours/{working_day_id}"
tags: ["Agent Dashboard - Working Hours"]
---

# Update Agent Working Hours By Id

`PUT /agent-working-hours/{working_day_id}`

## Path parameters

- `working_day_id` string, uuid, required

## Request body

- AgentWorkingHoursUpdate
  - `day` string
  - `start_time` string, time
  - `end_time` string, time

## Response `200`

Successful Response

- AgentWorkingHours
  - `id` string, uuid
  - `date_created` string, date-time
  - `date_updated` string, date-time
  - `agent_user_id` string, uuid, required — Foreign key to reference the user table.
  - `day` string, required — Day of the week (e.g., Monday, Tuesday, ...).
  - `start_time` string, time, required — Time the agent starts working.
  - `end_time` string, time, required — Time the agent stops working.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/dante-ai/apis/dante-ai-api.md) · [All operations](https://skmtc.net/dante-ai/apis/dante-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dante-ai/dante-ai-api/revisions/38b6c9a4246d/schema)
