---
title: "POST /hours-of-operations/{InstanceId}/{HoursOfOperationId}"
method: POST
path: "/hours-of-operations/{InstanceId}/{HoursOfOperationId}"
---

# POST /hours-of-operations/{InstanceId}/{HoursOfOperationId}

`POST /hours-of-operations/{InstanceId}/{HoursOfOperationId}`

This API is in preview release for Amazon Connect and is subject to change.

Updates the hours of operation.

## Path parameters

- `InstanceId` string, required
- `HoursOfOperationId` string, required

## Request body

- object
  - `Name` string — The name of the hours of operation.
  - `Description` string — The description of the hours of operation.
  - `TimeZone` string — The time zone of the hours of operation.
  - `Config` HoursOfOperationConfig[] — Configuration information of the hours of operation.
    - `Day` 'SUNDAY' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY', required — The day that the hours of operation applies to.
    - `StartTime` object, required — The start time that your contact center opens.
      - `Hours` integer, required — The hours.
      - `Minutes` integer, required — The minutes.
    - `EndTime` object, required — The end time that your contact center closes.
      - `Hours` integer, required — The hours.
      - `Minutes` integer, required — The minutes.

## Response `200`

Success

## Other responses

- `480` — DuplicateResourceException
- `481` — InvalidRequestException
- `482` — InvalidParameterException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — InternalServiceException

---

[API](https://skmtc.net/aws/apis/connect.md) · [All operations](https://skmtc.net/aws/apis/connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/connect/versions/fbcf0a4faed2/schema)
