---
title: "Update an Employee Working Pattern Override Component referenced by ID."
method: PUT
path: "/workingpatternoverridecomponents/{id}"
tags: ["WorkingPatternOverrideComponents"]
---

# Update an Employee Working Pattern Override Component referenced by ID.

`PUT /workingpatternoverridecomponents/{id}`

## Request

- Base URL: `https://api.iris.co.uk/hr/v2`
- URL: `https://api.iris.co.uk/hr/v2/workingpatternoverridecomponents/{id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.iris.co.uk/oauth2/v1/token`
- TypeScript: <https://skmtc.dev/hrapi/apis/hr-api/docs/workingpatternoverridecomponents/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Request body

- UpdateWorkingPatternOverrideComponentCommand
  - `StartDate` string, date-time, nullable: Cascade Source: [EmployeeWorkingDays].[StartDate]
  - `EndDate` string, date-time, nullable: Cascade Source: [EmployeeWorkingDays].[EndDate]
  - `DayOfWeek` integer: The Day of the Week for the Working Pattern Override Component. 0 = Sunday, 1 = Monday etc. Cascade Source: [EmployeeWorkingDays].[DayOfWeek] - 1
  - `DurationDays` number, double: The duration in days for this Working Pattern Override Component. Cascade Source: [EmployeeWorkingDays].[DurationDays]
  - `DurationMinutes` integer: The duration in minutes for this Working Pattern Override Component. Cascade Source: [EmployeeWorkingDays].[Duration]
  - `DayPart` 'AM' | 'PM' | 'AllDay' | 'None': The parts of days.

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-11-10** `638d402d3872`: 1 breaking, 1 warning
  - added the pattern `^[0-9a-fA-F-]{36}$` to the `path` request parameter `id`
  - for the `path` request parameter `id`, the maxLength was set to `36`
- **2026-10-06** `7a4734dbe370`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hrapi/apis/hr-api/changes/workingpatternoverridecomponents/:id/put.md)

---

[API](https://skmtc.dev/hrapi/apis/hr-api.md) - [All operations](https://skmtc.dev/hrapi/apis/hr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hrapi/apis/hr-api/revisions/638d402d3872?raw)
