Update Record of a Datasource
Endpoint Name: update_datasource_row
Request type : POST
Authorization: Bearer token as header
Endpoint Details: The update_datasource_row
endpoint will be used to update a record in datasource.
Method
URL
POST
URL/access/klearstack/update_datasource_row
Request Body
Params
Values
Description
company_name
string
Name of the company for which the user is logging in
datasource_name
string
Name of the datasource
id
string
ID of record to be updated
data
string (JSON)
A valid JSON string that contains info that needs to be updated
Example : {"USER_FIRST_NAE": "Marti",
"USER_LAST_NAME": "URIB"}
API Response
Status code
Example Response
200
{
"success": "Document updated successfully.",
“release_version”:”7.8.9”
}
400
{
"error": "Invalid key: USER_FIRST_NAE"
}
Last updated