provider hosted-compute DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}
@utdk/github /orgs/{org}/settings/network-configurations/{network_configuration_id}
Delete a hosted compute network configuration from an organization
Deletes a hosted compute network configuration from 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
hostedCompute.deleteNetworkConfigurationFromOrg
DELETE/orgs/{org}/settings/network-configurations/{network_configuration_id}
Deletes a hosted compute network configuration from 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.

Configure credentials above to enable sending.

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

TypeScript

import github from '@utdk/github';

await github.hostedCompute.deleteNetworkConfigurationFromOrg()