Delete A Recording
This API lets you delete a particular recording by passing recording Id as parameter.
Parameters
REQUIRED
The ID of the Recording.
DELETE
|
https://api.videosdk.live/v2/recordings/${recordingId}
NodeJS
import fetch from 'node-fetch';
const options = {
method: "DELETE",
headers: {
"Authorization": "$YOUR_TOKEN",
"Content-Type": "application/json",
},
};
const recordingId = "your_recordingId";
const url= `https://api.videosdk.live/v2/recordings/${recordingId}`;
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
RESPONSE
"Room recording deleted successfully"