Delete Record of a Datasource

Endpoint Name: delete_datasource_row

Request type : POST

Authorization: Bearer token as header

Endpoint Details: The delete_datasource_row endpoint will be used to delete records in datasource.

Method

URL

POST

URL/access/klearstack/delete_datasource_row

Request Body

Params

Values

Required

Description

company_name

string

Yes

Name of the company for which the user is logging in.

datasource_name

string

Yes

Name of the datasource.

ids

string

Yes

Comma separated ids of records that needs to deleted from the datasource.

Shell (cURL)

  • Request Body

curl --location "URL/access/klearstack/delete_datasource_row" \
  --header "Authorization: Bearer your_token_here" \
  --form "company_name=Replace_Company_Name_Here" \
  --form "datasource_name=Replace_Datasource_Name_Here" \
  --form "ids=Replace_Record_IDs_Here"

Python

  • Request Body

Java (OkHttp)

  • 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