> ## 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.

# Update self schedule date range

> Set the period the members of a team are allowed to schedule themselves over. The route only narrows a feature that the instance configuration opens: it cannot forbid self-scheduling altogether.

<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-self-schedule-date-range
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-self-schedule-date-range:
    post:
      tags:
        - Schedule
      summary: Update self schedule date range
      description: >-
        Set the period the members of a team are allowed to schedule themselves
        over. The route only narrows a feature that the instance configuration
        opens: it cannot forbid self-scheduling altogether.
      operationId: >-
        post_app_ui_api_schedule_scheduleteamsettingcommand_updateconfigurationselfscheduledaterange
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/UpdateScheduleConfigurationSelfScheduleDateRangeCommand
      responses:
        '204':
          description: Configuration self schedule date range updated.
components:
  schemas:
    UpdateScheduleConfigurationSelfScheduleDateRangeCommand:
      required:
        - team_id
        - self_schedule_date_range
      properties:
        team_id:
          $ref: '#/components/schemas/Snowflake'
          description: >-
            The team to restrict self-scheduling on, which must be an enabled
            sector.
        self_schedule_date_range:
          $ref: '#/components/schemas/LocalDateInterval'
          description: >-
            May be left open on either side; send an unbounded period to allow
            self-scheduling at any time. It cannot overlap the period the
            schedules of the team are hidden for, nor start on a day they are
            locked on.
      type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'
    LocalDateInterval:
      type: string
      format: local-date-interval
      example: 2019-11-11/2019-12-12

````