provider hosted-compute POST /orgs/{org}/settings/network-configurations
@utdk/github /orgs/{org}/settings/network-configurations
Create a hosted compute network configuration for an organization
Creates a hosted compute network configuration for an organization. OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.
org path required
The organization name. The name is not case sensitive.
string

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

hostedCompute.createNetworkConfigurationForOrg
POST/orgs/{org}/settings/network-configurations
Creates a hosted compute network configuration for an organization. OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.

Parameters

required

The organization name. The name is not case sensitive.

Input

required

Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.

The hosted compute service to use for the network configuration.

required

A list of identifiers of the network settings resources to use for the network configuration. Exactly one resource identifier must be specified in the list.

A list of identifiers of the failover network settings resources to use for the network configuration. Exactly one resource identifier must be specified in the list.

Indicates whether the failover network resource is enabled.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.hostedCompute.createNetworkConfigurationForOrg()