---
title: "Create Time Entry restriction"
method: POST
path: "/v3/time-entry-restriction"
tags: ["[v3] Time Entry Restriction"]
---

# Create Time Entry restriction

`POST /v3/time-entry-restriction`

Create specific restriction. An additional setting must be enabled for this endpoint to work - please contact support if you would like us to enable it.

## Request body

- object
  - `restrictionType` 'customPeriod', required
  - `restrictedEntityType` 'group', required
  - `restrictedEntityId` integer, required
  - `restrictionData` object, required
    - `endDate` string — only in ``customPeriod`` restrictionType, tells, about date till which entries won't be allowed to be modified, required in this restrictionType
    - `restrictionApplyOffset` number — only in ``customPeriod`` restrictionType, tells, how much days timesheet is available to modifying after endDate required in this restrictionType

## Response `200`

OK

## Other responses

- `403` — Forbidden

---

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