---
title: "Update assignment"
method: PATCH
path: "/v1/workspaces/{workspaceId}/scheduling/assignments/recurring/{assignmentId}"
tags: ["Scheduling"]
---

# Update assignment

`PATCH /v1/workspaces/{workspaceId}/scheduling/assignments/recurring/{assignmentId}`

## Path parameters

- `workspaceId` string, required — Represents a workspace identifier across the system.
- `assignmentId` string, required — Represents an assignment identifier across the system.

## Request body

- AssignmentUpdateRequestV1
  - `billable` boolean — Indicates whether assignment is billable or not.
  - `end` string, required — Represents an end date in the yyyy-MM-ddThh:mm:ssZ format.
  - `hoursPerDay` number, double — Represents assignment total hours per day.
  - `includeNonWorkingDays` boolean — Indicates whether to include non-working days or not.
  - `note` string — Represents an assignment note.
  - `seriesUpdateOption` 'THIS_ONE' | 'THIS_AND_FOLLOWING' | 'ALL' — Valid series option
  - `start` string, required — Represents start date in yyyy-MM-ddThh:mm:ssZ format.
  - `startTime` string — Represents a start time in the hh:mm:ss format.
  - `taskId` string — Represents task identifier across the system.

## Response `200`

OK

- AssignmentDtoV1[]
  - `billable` boolean — Indicates whether assignment is billable or not.
  - `excludeDays` SchedulingExcludeDay[] — Represents a list of excluded days objects
    - `date` string, date-time — Represents a datetimr in yyyy-MM-ddThh:mm:ssZ format.
    - `type` 'WEEKEND' | 'HOLIDAY' | 'TIME_OFF' — Represents the scheduling exclude day enum.
  - `hoursPerDay` number, double — Represents assignment total hours per day.
  - `id` string — Represents assignment identifier across the system.
  - `includeNonWorkingDays` boolean — Indicates whether assignment should include non-working days or not.
  - `note` string — Represents assignment note.
  - `period` DateRangeDto — Represents date range object.
    - `end` string, date-time
    - `start` string, date-time
  - `projectId` string — Represents project identifier across the system.
  - `published` boolean — Indicates whether assignment is published or not.
  - `recurring` RecurringAssignmentDtoV1 — unresolved $ref
  - `startTime` string — Represents start time in hh:mm:ss format.
  - `taskId` string — Represents task identifier across the system.
  - `userId` string — Represents user identifier across the system.
  - `workspaceId` string — Represents workspace identifier across the system.

---

[API](https://skmtc.dev/clockify/apis/clockify-api.md) · [All operations](https://skmtc.dev/clockify/apis/clockify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clockify/clockify-api/revisions/a5b636acbcd8/schema)
