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

# PUT /hours-of-operations/{InstanceId}

`PUT /hours-of-operations/{InstanceId}`

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

Creates hours of operation.

## Path parameters

- `InstanceId` string, required

## Request body

- object
  - `Name` string, required — The name of the hours of operation.
  - `Description` string — The description of the hours of operation.
  - `TimeZone` string, required — The time zone of the hours of operation.
  - `Config` HoursOfOperationConfig[], required — Configuration information for the hours of operation: day, start time, and end time.
    - `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.
  - `Tags` object — The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

## Response `200`

Success

- CreateHoursOfOperationResponse
  - `HoursOfOperationId` string — The identifier for the hours of operation.
  - `HoursOfOperationArn` string — The Amazon Resource Name (ARN) for the hours of operation.

## Other responses

- `480` — DuplicateResourceException
- `481` — InvalidRequestException
- `482` — InvalidParameterException
- `483` — ResourceNotFoundException
- `484` — LimitExceededException
- `485` — ThrottlingException
- `486` — 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)
