Skip to main content
Version: /v2

Delete A Track Recording - API

This API lets you delete a particular track recording by passing trackRecordingId as parameter.

HTTP method and endpoint

DELETE

|

https://api.videosdk.live/v2/recordings/participant/track/${recordingId}
Headers Parameters

values : YOUR_TOKEN_WITHOUT_ANY_PREFIX

This will be a JWT token generate using VideoSDK ApiKey and Secret.

Note that the token will not include any prefix such as "Basic " or "Bearer ". Just pass a token as value.

You can generate a new token by refering this Guide: Generate Auth token

Parameters

The ID of the Track Recording.

DELETE
|
https://api.videosdk.live/v2/recordings/participant/track/${recordingId}
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/participant/track/${recordingId}`;
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
RESPONSE
"Track Recording deleted successfully."

Got a Question? Ask us on discord