Update alert details

Hi Everyone,

I’m trying to use the update alerts API, to update the arbitrary k/v pairs in the details section.
To goal here is to update some metadata about the alert, which an internal system processes.

PUT https://api.pagerduty.com/incidents/<incident_id/alerts/<alert_id>
Payload
{
“alert”: {
“type”: “alert”,
“body”: {
“type”: “alert_body”,
“details”: {
“custom_label_a”: “custom_label_a”,
“custom_label_b”: “custom_label_b”
}
}
}
}

PD API returns 200, however in fact it didn’t update anything.
From the docs i’m not sure if this should be supported or not (https://developer.pagerduty.com/api-reference/4e932ba0c1989-update-an-alert)

Is there any option to update an alert/incident with custom labels after the entity exists?

Thanks!

It is not possible to update an existing alert’s details.