Can we acknowledge alarms with DX OI API?
DX OI SaaS
Yes, you can acknowledge alarms by using the below sintax:
curl --location 'https://doi.dxi-na1.saas.broadcom.com/oi/v2/api/alarmactions/ack' \
--header 'index_name: ao_itoa_update_alarms_all_1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YourToken' \
--header 'Cookie: GCLB=YourCookie' \
--data '{
"alarmDetails": [
{
"alarmType": "Alarm",
"alarmId": "YourAlarmID",
"sourceProduct": "UIM",
"docTypeId": "itoa_alarms_uim"
}
],
"actionDetails": {
"actionType": "acknowledge"
}
}' -vvv