Github API - Test Config

POST /orgs/{org}/codespaces/billing/selected_users
users
orgs
codespaces
billing

Codespaces for the specified users will be billed to the organization.
To use this endpoint, the billing settings for the organization must be set to selected_members. For information on how to change this setting please see [these docs].(https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces) You must authenticate using an access token with the admin:org scope to use this endpoint.
Add users to Codespaces billing for an organization

Arguments
key org

org [scalar]

The organization name. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
304 not_modified

not_modified [scalar]

Not modified

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
500 internal_error

internal_error [scalar]

Internal Error

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)