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

# Reopen a day

> The day can be booked again. Bookings cancelled by the day off stay cancelled.



## OpenAPI

````yaml /openapi.json delete /doctors/{id}/days/{date}/off
openapi: 3.1.0
info:
  title: Docistra API
  version: 1.0.0
  description: >-
    Connect your software to Docistra in both directions. All times are ISO
    8601; Docistra's clinics run on Cairo time (Africa/Cairo). Every path {id}
    takes Docistra's id or `ext:<your id>`.
servers:
  - url: https://docistra.com/api/v1
security:
  - bearerAuth: []
tags:
  - name: Organization
  - name: Patients
  - name: Appointments
  - name: Availability
  - name: Doctors
  - name: Doctor schedule
  - name: Branches
  - name: Reference data
  - name: Webhooks
paths:
  /doctors/{id}/days/{date}/off:
    parameters:
      - $ref: '#/components/parameters/Id'
      - name: date
        in: path
        required: true
        schema:
          type: string
          format: date
        description: The Cairo day, YYYY-MM-DD (today or later).
    delete:
      tags:
        - Doctor schedule
      summary: Reopen a day
      description: >-
        The day can be booked again. Bookings cancelled by the day off stay
        cancelled.
      operationId: doctorDayOn
      parameters:
        - name: branch_id
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Reopened
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      doctor_id:
                        type: string
                      date:
                        type: string
                      'off':
                        type: boolean
components:
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
      description: Docistra's id, or `ext:<your id>`.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your API key (dk_live_...), from Settings > Integrations > API in
        Docistra.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.