---
title: "Assign users to scheduling rule policy"
method: PUT
path: "/company-policies/v1/scheduling-rule-policies/{schedulingRulePolicyId}/assignments"
tags: ["Company Policies:v1:SchedulingRuleAssignment"]
---

# Assign users to scheduling rule policy

`PUT /company-policies/v1/scheduling-rule-policies/{schedulingRulePolicyId}/assignments`

## Request

- Base URL: `https://api.connecteam.com`
- URL: `https://api.connecteam.com/company-policies/v1/scheduling-rule-policies/{schedulingRulePolicyId}/assignments`
- Auth: one of:
  - API key in header `X-API-KEY`
  - OAuth 2
    - Client credentials
    - Token URL: `/oauth/v1/token` scopes: `company_policies.write`

Assign one or more users to the specified scheduling rule policy. Pass the users in the userIds array. If a user is already assigned to another scheduling rule policy, that assignment is replaced.

## Path parameters

- `schedulingRulePolicyId` integer, required: The unique identifier of the scheduling rule policy to assign

## Request body

- SchedulingRuleAssignmentRequest
  - `userIds` integer[], required: The unique identifiers of the users to assign

## Response `200`

Successful Response

- APIResponseSchedulingRuleAssignmentResponse
  - `requestId` string
  - `data` SchedulingRuleAssignmentResponse, required
    - `assignments` SchedulingRuleAssignmentListItem[], required: List of assignments for the policy
      - `assignmentId` integer, required: The unique identifier of the assignment record
      - `userId` integer, required: The unique identifier of the assigned user

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `a01dde7c27fb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/connecteam/apis/connecteam-api-documentation/changes/company-policies/v1/scheduling-rule-policies/:schedulingRulePolicyId/assignments/put.md)

---

[API](https://skmtc.dev/connecteam/apis/connecteam-api-documentation.md) - [All operations](https://skmtc.dev/connecteam/apis/connecteam-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/connecteam/apis/connecteam-api-documentation/revisions/a01dde7c27fb?raw)
