Delete Recordings
Use the following Rest API to delete recordings.
- cURL request
- NodeJS/JS
- Python
- Ruby
- RESULT
curl -L -X DELETE 'https://api.videosdk.live/v1/meeting-recordings/:id' \
-H 'Authorization: $YOUR_JWT_TOKEN'
var request = require("request");
var options = {
method: "DELETE",
url: "https://api.videosdk.live/v1/meeting-recordings/:id",
headers: {
Authorization: "$YOUR_JWT_TOKEN",
},
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
import requests
url = "https://api.videosdk.live/v1/meeting-recordings/:id"
headers = {
'Authorization': '$YOUR_JWT_TOKEN'
}
response = requests.request("DELETE", url, headers=headers)
print(response.text)
require "uri"
require "net/http"
url = URI("https://api.videosdk.live/v1/meeting-recordings/:id")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = "$YOUR_JWT_TOKEN"
response = https.request(request)
puts response.read_body
{
"userId": "5f7edbb14c938bcd42944517",
"meetingId": "hv6a-uwrj-8jbd",
"origFileId": "60df15dc1b5d6a3205573786",
"jobId": "60df15df7433b02e7d06853a",
"createdAt": "2021-07-02T13:34:23.768Z",
"updatedAt": "2021-07-02T13:34:30.616Z",
"fileId": "60df15e61b5d6a3205533289",
"file": {
"meta": {
"resolution": {
"width": 1280,
"height": 720
},
"format": "mov,mp4,m4a,3gp,3g2,mj2",
"duration": 3.561
},
"jobId": "60df15df7433b02e1d06653a",
"filePath": "encoded/videos/60df15dc1b5d6a8205573286/720.mp4",
"size": 613596,
"type": "video",
"createdAt": "2021-07-02T13:34:30.566Z",
"updatedAt": "2021-07-02T13:34:30.566Z",
"fileUrl": "https://cdn.videosdk.live/encoded/videos/60df15dc1b5d6a8205573286/720.mp4",
"id": "60df15e61b5d6a3805573289"
},
"id": "60df15df7433b02e3d06653c"
}
Request
idoptional
string
Path Parameters
Response
__response
object
userId
string
meetingId
string
origFileId
string
jobId
string
fileId
string
file
object
meta
object
resolution
object
width
number
height
number
format
string
duration
number
jobId
string
filePath
string
size
number
type
string
fileUrl
string
updatedAt
date
createdAt
date
id
string
createdAt
date
updatedAt
date
id
string
Properties
Got a Question? Ask us on discord