admin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.curl --location --request PUT 'https://service1.exmaple.com/orgs//actions/secrets/' \
--header 'Content-Type: application/json' \
--data '{
"encrypted_value": "c2VjcmV0",
"key_id": "012345678912345678",
"visibility": "selected",
"selected_repository_ids": [
1296269,
1296280
]
}'{
"value": null
}