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

# Delete Source Table

> Delete a source table the org owns, by ``table_name``.

Hard delete: a model trained from it keeps working (the FK is ON DELETE SET
NULL — nullable provenance).



## OpenAPI

````yaml https://api.outerproduct.com/openapi.json delete /v1/source_tables/{table_name}
openapi: 3.1.0
info:
  title: OuterProduct API
  description: >-
    Public-facing REST API for OuterProduct model distillation, prediction, and
    explanation.
  version: 0.1.8
servers: []
security: []
paths:
  /v1/source_tables/{table_name}:
    delete:
      tags:
        - source_tables
      summary: Delete Source Table
      description: >-
        Delete a source table the org owns, by ``table_name``.


        Hard delete: a model trained from it keeps working (the FK is ON DELETE
        SET

        NULL — nullable provenance).
      operationId: delete_source_table_v1_source_tables__table_name__delete
      parameters:
        - name: table_name
          in: path
          required: true
          schema:
            type: string
            title: Table Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteSourceTableResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    DeleteSourceTableResponse:
      properties:
        table_name:
          type: string
          title: Table Name
        deleted:
          type: boolean
          title: Deleted
      type: object
      required:
        - table_name
        - deleted
      title: DeleteSourceTableResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key or OAuth2/OIDC access token
      description: >-
        An API key or OAuth2/OIDC access token sent as `Authorization: Bearer
        <token>`.

````