Remove a pattern mark of an application's Logs (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/environments/{environment_id}/log-pattern-marks/{pattern_hash}"
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}/environments/{environment_id}/log-pattern-marks/{pattern_hash}', 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}/environments/{environment_id}/log-pattern-marks/{pattern_hash} \
--cookie ankra_session={
"detail": "<string>"
}Applications
Remove a pattern mark of an application's Logs (browser session)
Removes the mark a pattern carries in the environment, for everyone: the page’s Undo. The pattern is named by its pattern_hash. Removing a mark that is not there is 404 log_pattern_mark_not_found, not a quiet success, as removing a saved search that is not there is. The removal is audited on the application with the environment, the pattern’s hash and the mark it had. Requires applications.write.
DELETE
/
org
/
applications
/
{application_id}
/
environments
/
{environment_id}
/
log-pattern-marks
/
{pattern_hash}
Remove a pattern mark of an application's Logs (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/environments/{environment_id}/log-pattern-marks/{pattern_hash}"
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}/environments/{environment_id}/log-pattern-marks/{pattern_hash}', 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}/environments/{environment_id}/log-pattern-marks/{pattern_hash} \
--cookie ankra_session={
"detail": "<string>"
}