deleteTranscriptionWithHttpInfo method

Future<Response> deleteTranscriptionWithHttpInfo(
  1. String type,
  2. String id,
  3. String session,
  4. String filename,
)

Delete transcription

Deletes transcription Required permissions: - DeleteTranscription

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> deleteTranscriptionWithHttpInfo(
  String type,
  String id,
  String session,
  String filename,
) async {
  // ignore: prefer_const_declarations
  final path = r'/video/call/{type}/{id}/{session}/transcriptions/{filename}'
      .replaceAll('{type}', type)
      .replaceAll('{id}', id)
      .replaceAll('{session}', session)
      .replaceAll('{filename}', filename);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'DELETE',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}