Purge Rows
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/purge-rows \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/purge-rows"
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/smart-sources/{smart_source_id}/purge-rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Smart Sources
Purge Rows
Delete every row this SmartSource ever ingested (matched by tag).
POST
/
api
/
v1
/
smart-sources
/
{smart_source_id}
/
purge-rows
Purge Rows
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/purge-rows \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/purge-rows"
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/smart-sources/{smart_source_id}/purge-rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));