Sample - GitHub REST API
GET/orgs/{org}/settings/network-configurations/{network_configuration_id}

Get a hosted compute network configuration for an organization

Gets a hosted compute network configuration configured in an organization.

OAuth app tokens and personal access tokens (classic) need the read:network_configurations scope to use this endpoint.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
orgstringrequired
The organization name. The name is not case sensitive.
network_configuration_idstringrequired
Unique identifier of the hosted compute network configuration.

1 status code
200Response
idstringrequired
The unique identifier of the network configuration.
namestringrequired
The name of the network configuration.
compute_servicestringoptional
The hosted compute service the network configuration supports.
Allowed:noneactionscodespaces
network_settings_idsarray<string>optional
The unique identifier of each network settings in the configuration.
failover_network_settings_idsarray<string>optional
The unique identifier of each failover network settings in the configuration.
failover_network_enabledbooleanoptional
Indicates whether the failover network resource is enabled.
created_onstringrequired
The time at which the network configuration was created, in ISO 8601 format.