Remove a saved Logs search (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/saved-log-searches/{search_id}"
headers = {"cookie": "ankra_session="}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/saved-log-searches/{search_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.platform.ankra.app/org/applications/{application_id}/saved-log-searches/{search_id} \
--cookie ankra_session={
"detail": "<string>"
}Applications
Remove a saved Logs search (browser session)
Removes one search of the application for everyone. Removing a search that is not there is 404 saved_log_search_not_found, not a quiet success, as removing a plain value that is not there is. The removal is audited on the application with the search’s name. Requires applications.write.
DELETE
/
org
/
applications
/
{application_id}
/
saved-log-searches
/
{search_id}
Remove a saved Logs search (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/saved-log-searches/{search_id}"
headers = {"cookie": "ankra_session="}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/saved-log-searches/{search_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.platform.ankra.app/org/applications/{application_id}/saved-log-searches/{search_id} \
--cookie ankra_session={
"detail": "<string>"
}