---
title: "Unassign user from working hours policy"
method: DELETE
path: "/company-policies/v1/working-hours-policies/{workingHoursPolicyId}/assignments/{userId}"
tags: ["Company Policies:v1:WorkingHoursAssignment"]
---

# Unassign user from working hours policy

`DELETE /company-policies/v1/working-hours-policies/{workingHoursPolicyId}/assignments/{userId}`

## Request

- Base URL: `https://api.connecteam.com`
- URL: `https://api.connecteam.com/company-policies/v1/working-hours-policies/{workingHoursPolicyId}/assignments/{userId}`
- Auth: one of:
  - API key in header `X-API-KEY`
  - OAuth 2
    - Client credentials
    - Token URL: `/oauth/v1/token` scopes: `company_policies.delete`

Remove a user's assignment to this working hours policy. Custom working hours are kept

## Path parameters

- `workingHoursPolicyId` integer, required: The unique identifier of the working hours policy
- `userId` integer, required: The unique identifier of the user

## Response `200`

Successful Response

- APIResponseV2WorkingHoursUnassignResponse
  - `requestId` string
  - `data` WorkingHoursUnassignResponse, required
    - `success` boolean, required: Whether the assignment was removed successfully

## 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/working-hours-policies/:workingHoursPolicyId/assignments/:userId/delete.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)
