Delete Datasource
Endpoint Name: deletedatasource
Request type : POST
Authorization: Bearer token as header
Endpoint Details: The deletedatasourceendpoint will be used to delete datasource.
Method
URL
POST
URL/access/klearstack/deletedatasource
Request Body
Params
Values
Required
Description
datasource_name
string
Yes
Name of the datasource.
company_name
string
Yes
Name of the company for which the user is logging in.
Shell (cURL)
Request Body
curl --location "URL/access/klearstack/deletedatasource" \
--header "Authorization: Bearer your_token_here" \
--form "company_name=Replace_Company_Name_Here" \
--form "datasource_name=Replace_Datasource_Name_Here"Python
Request Body
Java
Request Body
Node.js (Axios)
Request Body
JavaScript (XHR)
Request Body
API Response
Status code
Example Response
200
{
"success": true,
“release_version”:”7.8.9”
}
Last updated