provider hosted-compute PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}
@utdk/github /orgs/{org}/settings/network-configurations/{network_configuration_id}
Update a hosted compute network configuration for an organization
Updates 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
network_configuration_id path required
Unique identifier of the hosted compute network configuration.
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.updateNetworkConfigurationForOrg
PATCH/orgs/{org}/settings/network-configurations/{network_configuration_id}
Updates 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.

required

Unique identifier of the hosted compute network configuration.

Input

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.

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.updateNetworkConfigurationForOrg()