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

# Delete Journal



## OpenAPI

````yaml openapis/journals.json delete /journals/editor/delete/{journal_id}
openapi: 3.1.0
info:
  title: Journals Routes
  version: 0.0.1
servers: []
security: []
paths:
  /journals/editor/delete/{journal_id}:
    delete:
      summary: Delete Journal
      operationId: delete_journal_journals_editor_delete__journal_id__delete
      parameters:
        - name: journal_id
          in: path
          required: true
          schema:
            type: string
            title: Journal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JournalDeleteResponse'
        '401':
          description: Invalid API key or unauthorized access
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: string
                type: object
          headers:
            Retry-After:
              description: Number of seconds to wait before retrying
              schema:
                type: integer
        '500':
          description: Internal server error
      security:
        - HTTPBearer: []
components:
  schemas:
    JournalDeleteResponse:
      properties:
        success:
          type: boolean
          title: Success
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
        timestamp:
          type: string
          title: Timestamp
        deleted_journal_data:
          anyOf:
            - $ref: '#/components/schemas/DeletedJournalData'
            - type: 'null'
      type: object
      required:
        - success
      title: JournalDeleteResponse
      description: Response model for journal deletion.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DeletedJournalData:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          title: Type
        color:
          anyOf:
            - type: string
            - type: 'null'
          title: Color
        title:
          type: string
          title: Title
        content:
          type: string
          title: Content
        comments:
          items: {}
          type: array
          title: Comments
        created_at:
          type: string
          title: Created At
        is_trashed:
          type: boolean
          title: Is Trashed
        trashed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Trashed At
        updated_at:
          type: string
          title: Updated At
        font_family:
          type: string
          title: Font Family
        parent_item:
          anyOf:
            - type: string
            - type: 'null'
          title: Parent Item
        order_indexes:
          anyOf:
            - {}
            - type: 'null'
          title: Order Indexes
        publish_status:
          type: string
          title: Publish Status
        pending_invites:
          anyOf:
            - {}
            - type: 'null'
          title: Pending Invites
        publish_subdomain:
          type: string
          title: Publish Subdomain
      additionalProperties: true
      type: object
      required:
        - id
        - type
        - title
        - content
        - comments
        - created_at
        - is_trashed
        - updated_at
        - font_family
        - publish_status
        - publish_subdomain
      title: DeletedJournalData
      description: Detailed data about the deleted journal.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````