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

# Delete meeting session recording media

> **Not yet available in production** — this route is not currently routed on api.telnyx.com and returns a generic 404; it is documented ahead of rollout. Irreversibly requests deletion of provider-hosted aggregate recording media under the provider contract. The operation retains the Telnyx-local Meeting session, transcript segments, events, artifacts, and usage records. It is separate from `DELETE /meeting_sessions/{id}`, which stops or cancels participation without deleting the persisted session. A missing/foreign session returns 404; provider deletion failures return 502.



## OpenAPI

````yaml /openapi/source/external/meeting-sessions/meeting-sessions.json delete /meeting_sessions/{id}/recording_media
openapi: 3.1.0
info:
  title: Telnyx Meeting Sessions API
  version: 2.0.0
  description: >-
    Programmatically create, control, and inspect Telnyx Meeting Sessions,
    including real-time actions, events, transcripts, recordings, and artifacts.
  x-latency-category: interactive
  x-endpoint-cost: light
servers:
  - url: https://api.telnyx.com/v2
security:
  - bearerAuth: []
tags:
  - name: Meeting Sessions
    description: Create, list, retrieve, update, and stop meeting sessions.
  - name: Meeting Session Actions
    description: Send real-time speech and chat actions to an active meeting session.
  - name: Meeting Session Data
    description: >-
      Read lifecycle events, transcript segments, and recordings for a meeting
      session.
  - name: Meeting Session Artifacts
    description: Create and retrieve asynchronous summaries and action-item artifacts.
  - name: Meeting Session Webhooks
    description: Outbound webhook deliveries for meeting session events.
paths:
  /meeting_sessions/{id}/recording_media:
    delete:
      tags:
        - Meeting Session Data
      summary: Delete meeting session recording media
      description: >-
        **Not yet available in production** — this route is not currently routed
        on api.telnyx.com and returns a generic 404; it is documented ahead of
        rollout. Irreversibly requests deletion of provider-hosted aggregate
        recording media under the provider contract. The operation retains the
        Telnyx-local Meeting session, transcript segments, events, artifacts,
        and usage records. It is separate from `DELETE /meeting_sessions/{id}`,
        which stops or cancels participation without deleting the persisted
        session. A missing/foreign session returns 404; provider deletion
        failures return 502.
      operationId: deleteMeetingSessionRecordingMedia
      parameters:
        - $ref: '#/components/parameters/MeetingSessionId'
      responses:
        '202':
          description: >-
            Recall accepted the irreversible recording-media deletion request,
            or a deletion is already in progress.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/MeetingSessionRecordingMediaDeletionResponse
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/RecordingMediaResourceNotFound'
        '409':
          $ref: '#/components/responses/RecordingMediaInvalidState'
        '422':
          $ref: '#/components/responses/RecordingMediaUnsupportedCapability'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '502':
          $ref: '#/components/responses/RecordingMediaProviderError'
        '503':
          $ref: '#/components/responses/RecordingMediaAuthenticationUnavailable'
      security:
        - bearerAuth: []
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Telnyx from 'telnyx';

            const client = new Telnyx({
              apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
            });

            await client.meetingSessions.deleteRecordingMedia('id');
        - lang: Python
          source: |
            import os
            from telnyx import Telnyx

            client = Telnyx(
                api_key=os.environ.get("TELNYX_API_KEY"),  # This is the default and can be omitted
            )
            client.meeting_sessions.delete_recording_media(
                "id",
            )
        - lang: Go
          source: "package main\n\nimport (\n\t\"context\"\n\n\t\"github.com/team-telnyx/telnyx-go\"\n\t\"github.com/team-telnyx/telnyx-go/option\"\n)\n\nfunc main() {\n\tclient := telnyx.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\terr := client.MeetingSessions.DeleteRecordingMedia(\n\t\tcontext.TODO(),\n\t\t\"id\",\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n}\n"
        - lang: Java
          source: |-
            package com.telnyx.sdk.example;

            import com.telnyx.sdk.client.TelnyxClient;
            import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;

            public final class Main {
                private Main() {}

                public static void main(String[] args) {
                    TelnyxClient client = TelnyxOkHttpClient.fromEnv();

                    client.meetingSessions().deleteRecordingMedia("id");
                }
            }
        - lang: Ruby
          source: |-
            require "telnyx"

            telnyx = Telnyx::Client.new(api_key: "My API Key")

            response = telnyx.meeting_sessions.delete_recording_media("id")

            puts(response)
        - lang: PHP
          source: >-
            <?php


            require_once dirname(__DIR__) . '/vendor/autoload.php';


            use Telnyx\Client;

            use Telnyx\Core\Exceptions\APIException;


            $client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API
            Key');


            try {
              $response = $client->meetingSessions->deleteRecordingMedia(
                'id',
              );

              var_dump($response);
            } catch (APIException $e) {
              echo $e->getMessage();
            }
        - lang: CLI
          source: |-
            telnyx meeting-sessions delete-recording-media \
              --api-key 'My API Key' \
              --id id
components:
  parameters:
    MeetingSessionId:
      name: id
      in: path
      required: true
      description: Unique identifier for the meeting session.
      schema:
        type: string
        examples:
          - mtgsess_a1b2c3d4-e5f6-7890-abcd-ef1234567890
  schemas:
    MeetingSessionRecordingMediaDeletionResponse:
      type: object
      additionalProperties: false
      required:
        - data
      properties:
        data:
          type: object
          additionalProperties: false
          required:
            - meeting_session_id
            - provider
            - scope
            - deletion_status
          properties:
            meeting_session_id:
              type: string
              description: The account-scoped Meeting Session identifier.
            provider:
              type: string
              const: recall
            scope:
              type: string
              const: provider_recording_media
            deletion_status:
              type: string
              enum:
                - requested
                - already_in_progress
      example:
        data:
          meeting_session_id: mtgsess_a1b2c3d4-e5f6-7890-abcd-ef1234567890
          provider: recall
          scope: provider_recording_media
          deletion_status: requested
    ErrorResponse:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
      examples:
        - error:
            code: invalid_request
            message: webhook_url is disabled
        - error:
            code: not_found
            message: meeting session not found
        - error:
            code: unsupported_capability
            message: avatar video is not supported on platform 'unknown'
        - error:
            code: internal_error
            message: internal server error
  responses:
    Unauthorized:
      description: >-
        Unauthorized. On api.telnyx.com, authentication is enforced by the API
        gateway before the request reaches the Meeting service, so a missing or
        invalid API key returns the standard Telnyx error envelope (`{"errors":
        [{"code": "10009", ...}]}`) rather than the single-`error` shape below.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: unauthorized
              message: invalid or missing credentials
    Forbidden:
      description: The authenticated credential is not permitted to perform this operation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: forbidden
              message: credential is not permitted
    RecordingMediaResourceNotFound:
      description: The meeting session does not exist or belongs to another account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: not_found
              message: meeting session not found
    RecordingMediaInvalidState:
      description: >-
        Provider recording media cannot be deleted while the meeting is in
        progress.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: invalid_state
              message: >-
                provider recording media cannot be deleted while the meeting is
                in progress
    RecordingMediaUnsupportedCapability:
      description: >-
        The session's provider does not support recording-media deletion, or
        does not match the configured provider.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: unsupported_capability
              message: provider recording-media deletion is not supported
    TooManyRequests:
      description: >-
        Authentication is temporarily overloaded. Retry after the number of
        seconds in `Retry-After`.
      headers:
        Retry-After:
          required: true
          description: Seconds to wait before retrying.
          schema:
            type: integer
            minimum: 1
            maximum: 5
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: auth_overloaded
              message: authentication temporarily overloaded
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: internal_error
              message: internal server error
    RecordingMediaProviderError:
      description: >-
        The provider request failed and the recording-media deletion outcome is
        unknown.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: provider_error
              message: recording-media deletion outcome is unknown
    RecordingMediaAuthenticationUnavailable:
      description: The authentication service is unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: auth_unavailable
              message: authentication service is unavailable
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````