Remove a pattern mark of an application's Logs
import requests
url = "https://platform.ankra.app/api/v1/org/applications/{application_id}/environments/{environment_id}/log-pattern-marks/{pattern_hash}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/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://platform.ankra.app/api/v1/org/applications/{application_id}/environments/{environment_id}/log-pattern-marks/{pattern_hash} \
--header 'Authorization: Bearer <token>'{
"detail": "<string>"
}Applications
Remove a pattern mark of an application's Logs
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
/
api
/
v1
/
org
/
applications
/
{application_id}
/
environments
/
{environment_id}
/
log-pattern-marks
/
{pattern_hash}
Remove a pattern mark of an application's Logs
import requests
url = "https://platform.ankra.app/api/v1/org/applications/{application_id}/environments/{environment_id}/log-pattern-marks/{pattern_hash}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/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://platform.ankra.app/api/v1/org/applications/{application_id}/environments/{environment_id}/log-pattern-marks/{pattern_hash} \
--header 'Authorization: Bearer <token>'{
"detail": "<string>"
}