Skip to main content
DELETE
Delete a transcription by file ID
Permanently removes the transcription record for the specified audio file from the system. This action cannot be undone.

Request

Headers

Path Parameters

Parameter Details

  • fileId: Must be a valid transcription or file identifier
  • Used to locate and delete the transcription record
  • This action is permanent and cannot be undone

Response

200 OK - Transcription successfully deleted

404 Not Found

500 Internal Server Error

Example

Use Cases

  • Data Cleanup: Remove old or unnecessary transcriptions
  • Storage Management: Free up storage space by deleting transcriptions
  • Privacy Compliance: Remove transcriptions containing sensitive information
  • Error Correction: Delete incorrect transcriptions for reprocessing
  • User Management: Remove transcriptions when users are deleted

Implementation Examples

React Delete Transcription Component

Batch Delete Transcriptions

Transcription Cleanup Service

Best Practices

  1. Confirmation: Always confirm before deleting transcriptions
  2. Backup: Consider backing up important transcriptions before deletion
  3. Batch Operations: Use batch deletes for multiple items
  4. Error Handling: Handle partial failures in batch operations
  5. Audit Logging: Log deletion events for compliance

Security Considerations

  • Authorization: Ensure users can only delete their own transcriptions
  • Permissions: Require appropriate permissions for deletion
  • Audit Trail: Maintain audit logs of deletion activities
  • Data Recovery: Consider recovery options for accidental deletions

Performance Considerations

  • Batch Size: Limit batch delete operations to avoid timeouts
  • Storage Cleanup: Ensure storage is properly cleaned up after deletion
  • Database Performance: Large-scale deletions may impact database performance
  • Use /transcription/get-transcription/{fileId} to retrieve transcriptions
  • Use transcription list endpoints to find transcriptions to delete
  • Use user management endpoints for user-specific cleanup

Notes

  • Deletion is permanent and cannot be undone
  • Only the transcription text is deleted; original audio files may remain
  • System may automatically clean up very old transcriptions
  • Consider implementing soft deletes for recovery options
  • Storage space is freed up immediately after deletion

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

fileId
string
required

Unique identifier of the transcription or audio file to delete.

Example:

"670fcae25abf2d8e5c8a4a12"

Response

Transcription successfully deleted

message
string
Example:

"Successfully deleted the transcription"

data
object
Example: