admin:org
scope to use this endpoint.curl --location --request PUT 'https://api.github.com/orgs//codespaces/billing' \
--header 'Content-Type: application/json' \
--data-raw '{
"selected_usernames": [
"johnDoe",
"atomIO"
],
"visibility": "selected_members"
}'
{}
visibility
is selected_members
. The provided list of usernames will replace any existing value.disabled
means that no users can access codespaces in the organization.