<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-network-link-service-update"></a>

# confluent network link service update

## Description

Update an existing network link service.

```none
confluent network link service update <id> [flags]
```

## Flags

```none
    --name string                     Name of the network link service.
    --description string              Description of the network link service.
    --accepted-networks strings       A comma-separated list of networks from which connections can be accepted.
    --accepted-environments strings   A comma-separated list of environments from which connections can be accepted.
    --context string                  CLI context name.
    --environment string              Environment ID.
-o, --output string                   Specify the output format as "human", "json", or "yaml". (default "human")
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
```

## Examples

Update the name and description of network link service “nls-123456”.

```none
confluent network link service update nls-123456 --name my-network-link-service --description "example network link service"
```

Update the accepted environments and accepted networks of network link service “nls-123456”.

```none
confluent network link service update nls-123456 --description "example network link service" --accepted-environments env-111111 --accepted-networks n-111111,n-222222
```

## See Also

* [confluent network link service](index.md#confluent-network-link-service) - Manage network link services.
