Delete Connector - API
Deletes a connector by its connectorId. Its webhook URL stops working immediately, so new calls to the provider webhook will fail. Calls already streaming are not affected.
Responses:
200→ confirmation message.404if no connector matches the ID.
HTTP method and endpoint
DELETE
|
https://api.videosdk.live/v2/connectors/:connectorId
Headers Parameters
REQUIRED
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
REQUIRED
ID of the connector to delete.
DELETE
|
https://api.videosdk.live/v2/connectors/:connectorId
NodeJS
import fetch from 'node-fetch';
const options = {
method: "DELETE",
headers: {
"Authorization": "$YOUR_TOKEN",
},
};
const url= `https://api.videosdk.live/v2/connectors/:connectorId`;
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
RESPONSE
{
"message": "Connector deleted successfully"
}
Got a Question? Ask us on discord