diff --git a/docusaurus/video/docusaurus/docs/api/recording/recording_calls.mdx b/docusaurus/video/docusaurus/docs/api/recording/recording_calls.mdx index 40096524..d6b3e368 100644 --- a/docusaurus/video/docusaurus/docs/api/recording/recording_calls.mdx +++ b/docusaurus/video/docusaurus/docs/api/recording/recording_calls.mdx @@ -90,9 +90,7 @@ curl "https://video.stream-io-api.com/api/v2/video/call/${CALL_TYPE}/${CALL_ID}/ This endpoint allows to delete call recording. Please note that recordings will be deleted only if they are stored on Stream side (default). -An error will be returned if: - - the recording doesn't exist - - the recording is not stored on Stream S3 bucket +An error will be returned if the recording doesn't exist. @@ -112,8 +110,8 @@ call.delete_recording(sessionID, filename) ```bash -curl -X DELETE "https://video.stream-io-api.com/video/call/${CALL_TYPE}/${CALL_ID}/${SESSION_ID}/${FILENAME}?api_key=${API_KEY}" \ - -H "Authorization: ${TOKEN}" \ +curl -X DELETE "https://video.stream-io-api.com/video/call/${CALL_TYPE}/${CALL_ID}/${SESSION_ID}/recordings/${FILENAME}?api_key=${API_KEY}" \ + -H "Authorization: ${JWT_TOKEN}" \ -H "stream-auth-type: jwt" ``` diff --git a/docusaurus/video/docusaurus/docs/api/transcription/transcribing_calls.mdx b/docusaurus/video/docusaurus/docs/api/transcription/transcribing_calls.mdx index d3af95af..6b52db37 100644 --- a/docusaurus/video/docusaurus/docs/api/transcription/transcribing_calls.mdx +++ b/docusaurus/video/docusaurus/docs/api/transcription/transcribing_calls.mdx @@ -88,6 +88,39 @@ curl "https://video.stream-io-api.com/api/v2/video/call/default/${CALL_ID}/trans +## Delete call transcription + +This endpoint allows to delete call transcription. +Please note that transcriptions will be deleted only if they are stored on Stream side (default). + +An error will be returned if the transcription doesn't exist. + + + + +```js +call.deleteTranscription(sessionID, filename); +``` + + + + +```py +call.delete_transcription(sessionID, filename) +``` + + + + +```bash +curl -X DELETE "https://video.stream-io-api.com/video/call/${CALL_TYPE}/${CALL_ID}/${SESSION_ID}/transcriptions/${FILENAME}?api_key=${API_KEY}" \ + -H "Authorization: ${JWT_TOKEN}" \ + -H "stream-auth-type: jwt" +``` + + + + ## Events These events are sent to users connected to the call and your webhook/SQS: