> ## Documentation Index
> Fetch the complete documentation index at: https://api.tipee.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Sets the date up to which the schedules of a team are locked.

> Set the date up to which the schedules of a team are locked, typically once the monthly count is done. Locking further ahead and reopening an already locked period are two distinct rights.

<Warning>This endpoint is in preview: it may change without notice until it becomes part of a stable version.</Warning>


## OpenAPI

````yaml preview post /api/schedule/configurations.update-lock-date
openapi: 3.1.0
info:
  title: tipee
  version: preview
servers: []
security:
  - basicAuth: []
tags:
  - name: Activity
    description: Activity
  - name: Balances
    description: Balances
  - name: Directory
    description: Directory
  - name: Schedule
    description: Schedule
  - name: Security
    description: Security
  - name: Timeclock
    description: Timeclock
paths:
  /api/schedule/configurations.update-lock-date:
    post:
      tags:
        - Schedule
      summary: Sets the date up to which the schedules of a team are locked.
      description: >-
        Set the date up to which the schedules of a team are locked, typically
        once the monthly count is done. Locking further ahead and reopening an
        already locked period are two distinct rights.
      operationId: >-
        post_app_ui_api_schedule_scheduleteamsettingcommand_updateconfigurationlockdate
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateScheduleConfigurationLockDateCommand'
      responses:
        '204':
          description: Configuration lock date updated.
components:
  schemas:
    UpdateScheduleConfigurationLockDateCommand:
      required:
        - team_id
        - lock_date
      properties:
        team_id:
          $ref: '#/components/schemas/Snowflake'
          description: The team to lock the schedules of, which must be an enabled sector.
        lock_date:
          description: >-
            Send an explicit null to unlock the team entirely. The date must be
            in the past, and no earlier than the day before the balances of the
            instance start.
          oneOf:
            - $ref: '#/components/schemas/LocalDate'
            - type: 'null'
      type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'
    LocalDate:
      type: string
      format: local-date
      example: '2019-11-11'

````