How to turn on silence mode for alert rules with api

hello
using grafana 10 (on-premise)
i need to turn on silence mod throw api (curl)

curl -X POST -H “Authorization: Bearer token” -H “Content-Type: application/json” -d ‘{
“filters”: [
{
“key”: “label:svc”,
“value”: “mortgage”
}
],
“comment”: “Silencing alerts with svc=mortgage”,
“createdBy”: “Test user”,
“startsAt”: “2023-07-05T12:00:00Z”,
“endsAt”: “2023-07-05T14:00:00Z”
}’ https://grafana.**/api/alerts/silences

but got error {“message”:“Not found”}

is it possible ?

another example, but result is same got error {“message”:“Not found”}

curl -XPOST -H “Content-Type: application/json” -u ‘’ 'https://grafana./api/alerts/silence’ -d ‘{
“matchers”: [
{
“name”: “svc”,
“value”: “mortgage”,
“isRegex”: false
}
],
“startsAt”: “2023-07-05T12:00:00Z”,
“endsAt”: “2023-07-06T12:00:00Z”,
“createdBy”: “API”,
“comment”: “Silencing alerts for maintenance”
}’

with this string
/grafana.**/alerting/silence/new?matcher=svc%3Dmortgage&comment=Maintenance%20mode

I have a template for silence, but need user action