Deleting Files
The result files that are associated with a transcription request can be immediately deleted using /transcribe/result
's DELETE
method. This is typically done after the results have been successfully retrieved. If you are using curl, your example call would be very similar to your call to the /transcribe/result
's GET
method, passing the requestid
of the result that you want to delete as a parameter.
For example, to use curl to delete the result whose URL you could retrieve using the requestid
700e7496-4fce-4963-aa7b-b3b26600f813
, you would issue a command like the following:
curl -X DELETE "http://blaze_name:17171/transcribe/result?token=123e4567e89b12d3a456426655440000&requestid=700e7496-4fce-4963-aa7b-b3b26600f813"
Source audio files are always deleted from the system automatically as soon as a request is transcribed. Result files are deleted automatically as soon as a successful POST
is made to a specified callback server, or deleted automatically after the results object lifetime has been reached (14 days).