Clear invalid urls
curl --request DELETE \
--url https://{your-subdomain}.neetokb.com/api/external/v2/reports/invalid_urls \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetokb.com/api/external/v2/reports/invalid_urls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetokb.com/api/external/v2/reports/invalid_urls"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"deleted_count": 3
}{
"error": "<string>"
}Reports
Clear invalid URLs
This API deletes the rows of this report that fall in the period you pick. With no parameters it deletes every row. It cannot be undone. For CLI sessions, this needs the Manage articles permission.
DELETE
/
reports
/
invalid_urls
Clear invalid urls
curl --request DELETE \
--url https://{your-subdomain}.neetokb.com/api/external/v2/reports/invalid_urls \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetokb.com/api/external/v2/reports/invalid_urls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetokb.com/api/external/v2/reports/invalid_urls"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"deleted_count": 3
}{
"error": "<string>"
}Replace
Learn how to find your subdomain in Workspace subdomain.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Query Parameters
Period to report on. Defaults to all_time. For custom, send both start_date and end_date.
Available options:
all_time, last_24_hours, last_7_days, this_week, last_week, last_30_days, this_month, last_month, this_quarter, last_quarter, custom Start of the period as an ISO 8601 date or time. Needed with duration=custom. Must not be after end_date.
Example:
"2026-03-01"
End of the period as an ISO 8601 date or time. Needed with duration=custom.
Example:
"2026-03-31"
Only rows for this URL.
Response
OK - Rows deleted
Number of rows deleted. 0 when nothing matched.
Example:
3