admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.curl --location --request PATCH 'https://service1.exmaple.com/orgs//actions/variables/' \
--header 'Content-Type: application/json' \
--data '{
"name": "USERNAME",
"value": "octocat",
"visibility": "selected",
"selected_repository_ids": [
1296269,
1296280
]
}'