visibility
field set to selected
. You must authenticate using an access token with the admin:org
scope to use this endpoint. GitHub Apps must have the organization_actions_variables:write
organization permission to use this endpoint.curl --location --request PUT 'https://api.github.com/orgs//actions/variables//repositories' \
--header 'Content-Type: application/json' \
--data-raw '{
"selected_repository_ids": [
64780797
]
}'
{}