---
title: "Assign user to pay rule policy"
method: PUT
path: "/company-policies/v1/pay-rule-policies/{payRulePolicyId}/assignments"
tags: ["Company Policies:v1:PayRuleAssignment"]
---

# Assign user to pay rule policy

`PUT /company-policies/v1/pay-rule-policies/{payRulePolicyId}/assignments`

Assign user to specified pay rule policy. If the provided effective date is earlier than the currently assigned policy's effective date, the existing policy assignment will be replaced and removed.

## Path parameters

- `payRulePolicyId` integer, required — The unique identifier of the pay rule policy to assign

## Request body

- PayRuleAssignmentRequest
  - `userId` integer, required — The unique identifier of the user
  - `effectiveDate` string, date, required — The date for the policy to take effect, specified in ISO 8601 format (e.g., 2025-01-25)

## Response `200`

Successful Response

- APIResponsePayRuleAssignmentResponse
  - `requestId` string
  - `data` PayRuleAssignmentResponse, required
    - `assignmentId` integer, required — The unique identifier of the assignment record

## 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/revisions/d8f7f302222e/schema)
