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

# Deletes the source with the specified identifier.  Active sources cannot be deleted.



## OpenAPI

````yaml /platform/livesources-api/openapi.json delete /sources/{source_id}
openapi: 3.1.3
info:
  title: UP.LiveSources API Specification
  version: 1.0.0
  description: |
    Telestream UP.LiveSources API Specification.

    REST surface for the UP.LiveSources service: organization-scoped
    SRT source ingestion that other UP applications (LiveCapture, Lens,
    and so on) consume as CHLS streams.

    Naming conventions follow the rest of the UP REST surface
    (snake_case path parameters, operation IDs, and JSON properties).
    Pagination is offset-based (`page`, `per_page`) returning a wrapper
    with the resource-named array plus `page_count` and `total_count`.
  termsOfService: https://www.telestream.net/telestream-cloud/terms.htm
  contact:
    name: API Support
    url: https://www.telestream.com
    email: up@telestream.net
  license:
    name: Proprietary — Telestream
servers:
  - url: https://api.up.telestream.com/livesources/v1
    description: Production
security:
  - BearerAuth: []
tags:
  - name: source
    description: Operations related to live sources
  - name: access
    description: Operations related to access checks
paths:
  /sources/{source_id}:
    parameters:
      - $ref: '#/components/parameters/source_id'
    delete:
      tags:
        - source
      summary: >-
        Deletes the source with the specified identifier.  Active sources cannot
        be deleted.
      operationId: delete_source
      responses:
        '202':
          description: Accepted
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - BearerAuth:
            - livesources:source:source-management
components:
  parameters:
    source_id:
      name: source_id
      description: Unique identifier of a Source
      schema:
        type: string
        format: uuid
      in: path
      required: true
  responses:
    Unauthorized:
      content:
        application/json:
          schema:
            type: object
            properties:
              error_message:
                type: string
            examples:
              - error_message: You don't have permission to access this resource
      description: Not authorized
    NotFound:
      content:
        application/json:
          schema:
            type: object
            properties:
              error_message:
                type: string
            examples:
              - error_message: 404 Not found
      description: Item not found
    Unprocessable:
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: object
                additionalProperties:
                  type: string
            examples:
              - errors:
                  srt_settings: srt_settings is missing required field 'mode'
      description: Invalid options provided
    InternalError:
      content:
        application/json:
          schema:
            type: object
            properties:
              error_message:
                type: string
            examples:
              - error_message: 500 internal error
      description: 500 Internal error
  securitySchemes:
    BearerAuth:
      type: oauth2
      description: OAuth2 bearer token in the Authorization header
      flows:
        clientCredentials:
          tokenUrl: /auth/token
          scopes:
            livesources:access: Validate that the token has access to LiveSources
            livesources:source:access: Read access to live sources
            livesources:source:source-management: Manage (create / update / delete / activate) live sources

````