Grant access to security alerts via the API

Do I understand correctly that granting access to security alerts to teams on a repository level (i.e. that you can configure from the UI under repository settings/Security alerts) is not exposed in the API? I understand that enabling security alerts is, as well as you can get notified of alerts via the API but what if I’d like to grant access to the alerts for the team maintaining the repo?

I’ve asked this here a month ago but didn’t get a reply:

Thank you!


I have the same issue. Not being able to specify who can see security alerts via an API is a big oversight when you have 100’s of repositories to manage.

I have the same issue.
Please help