---
title: "Assign user to time-off policy"
method: PUT
path: "/time-off/v1/time-off-policies/{timeOffPolicyId}/assignments"
tags: ["Time Off:v1:PolicyAssignment"]
---

# Assign user to time-off policy

`PUT /time-off/v1/time-off-policies/{timeOffPolicyId}/assignments`

Assign user to specified time-off policy.

## Path parameters

- `timeOffPolicyId` string, required — The time off policy id

## Request body

- TimeOffAssignPolicyRequest
  - `userId` integer, required — The unique identifier of the user
  - `balance` number — The balance amount
  - `unit` 'hours' | 'days' — An enumeration.

## Response `200`

Successful Response

- APIResponseTimeOffAssignPolicyResponse
  - `requestId` string
  - `data` TimeOffAssignPolicyResponse, required

## Other responses

- `422` — Validation Error

---

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