codespace
or codespace:secrets
scope to use this endpoint. User must have Codespaces access to use this endpoint.codespaces_user_secrets
user permission and write access to the codespaces_secrets
repository permission on all referenced repositories to use this endpoint.curl --location --request PUT 'https://api.github.com/user/codespaces/secrets//repositories' \
--header 'Content-Type: application/json' \
--data-raw '{
"selected_repository_ids": [
"1296269",
"1296280"
]
}'
{}