Update compliance alert status
curl --request PUT \
--url https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts/{id}"
payload = {}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){}{}{}{}Compliance Alerts
Update compliance alert status
Update the status of a compliance alert
PUT
/
compliance
/
alerts
/
{id}
Update compliance alert status
curl --request PUT \
--url https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts/{id}"
payload = {}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){}{}{}{}Authorizations
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Path Parameters
Alert ID
Body
application/json
Updated alert details
Available options:
open, investigating, resolved, false_positive Response
OK
The response is of type object.
⌘I