alertID via API

the alerts api endpoint returns alerts w/ an id, however when accessing the dashboard/panel which contains that same alert , there is NO alertID present.

How can one upload a change to a dashboard (alert) via the dashboard api, without loosing the alertID the alert previously had (which is used to track state)