visibility field set to selected.admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.curl --location --request PUT 'https://service1.exmaple.com/orgs//actions/variables//repositories' \
--header 'Content-Type: application/json' \
--data '{
"selected_repository_ids": [
64780797
]
}'