Alert API doesn't work

Hi, Im using Grafana 10.2 and 10.3. I would like to use API to perform actions with alerts.
But it doesn’t work. Every other api commands like for eg dashboards etc are working.
But with alert i got 404 not found
message: Not found

i tried use API legacy, v1, v2.
when im using v2 i got terrible html output without any sense.

I just want to get alerts and delete some of them.
Im using Curl
eg:
curl -v login:password@grafanahost:80/api/v1/provisioning/alert-rules/{UID}
/alertmanager/grafana/api/v2/alerts
and more but without success

Thanks in advance!

nvm i figure out

I am running into the same issue. Can you explain how you fixed it?