Clear Rows
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/custom-data-sources/{id_or_slug}/rows/clear \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/custom-data-sources/{id_or_slug}/rows/clear"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/custom-data-sources/{id_or_slug}/rows/clear', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Custom Data Sources
Clear Rows
Delete every row in the datasource. Schema is preserved.
POST
/
api
/
v1
/
custom-data-sources
/
{id_or_slug}
/
rows
/
clear
Clear Rows
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/custom-data-sources/{id_or_slug}/rows/clear \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/custom-data-sources/{id_or_slug}/rows/clear"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/custom-data-sources/{id_or_slug}/rows/clear', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));