data_sources
Delete Data Source
agents
agents.test
conversations
data_sources
events
insights.workflows
insights.tools
custom_messages
prompts
session_labels
sessions.transcript
sessions.summary
sessions.full-summary
channels.targets
directory
dashboards
outbound.batches
- GETList Outbound Communication Batches
- PUTCreate Outbound Communication Batch
- GETGet Outbound Communication Batch
- DELDelete Outbound Communication Batch
- POSTUpload Outbound Communication Batch
- GETFetch Outbound Communication Batch Results
- POSTCreate Outbound Communication Request
- POSTDelete Requests By List Of Reference Ids
outbound.campaigns
data_sources
Delete Data Source
Delete a given data source.
DELETE
/
api
/
v1
/
data_sources
/
{data_source_id}
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.dataSources.delete({
dataSourceId: 545907,
reason: "<value>",
});
// Handle the result
console.log(result);
}
run();
"<any>"
Authorizations
Path Parameters
Query Parameters
Response
200
application/json
Successful Response
The response is of type any
.
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.dataSources.delete({
dataSourceId: 545907,
reason: "<value>",
});
// Handle the result
console.log(result);
}
run();
"<any>"