{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."},"network_configuration_id":{"type":"string","description":"Unique identifier of the hosted compute network configuration."}},"required":["org","network_configuration_id"],"additionalProperties":false},"body":{"type":"object","properties":{"name":{"description":"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 '_'.","type":"string"},"compute_service":{"description":"The hosted compute service to use for the network configuration.","type":"string","enum":["none","actions"]},"network_settings_ids":{"type":"array","minItems":0,"maxItems":1,"description":"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.","items":{"type":"string"}},"failover_network_settings_ids":{"type":"array","minItems":0,"maxItems":1,"description":"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.","items":{"type":"string"}},"failover_network_enabled":{"type":"boolean","description":"Indicates whether the failover network resource is enabled."}},"examples":[{"name":"my-network-configuration","network_settings_ids":["23456789ABDCEF1"],"compute_service":"actions"}]}},"required":["path","body"],"additionalProperties":false},"name":"Update a hosted compute network configuration for an organization","id":"github.hosted-compute.update-network-configuration-for-org","example":{"path":{"org":"example","network_configuration_id":"example"},"body":{"name":"my-network-configuration","network_settings_ids":["23456789ABDCEF1"],"compute_service":"actions"}},"maxRequests":1,"summary":false}}