> ## Documentation Index
> Fetch the complete documentation index at: https://www.aptible.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# aptible endpoints:tcp:modify

This command modifies App [TCP Endpoints](https://www.aptible.com/docs/core-concepts/apps/connecting-to-apps/app-endpoints/tcp-endpoints.md).

# Synopsis

```
Usage:
  aptible endpoints:tcp:modify HOSTNAME [flags]

Flags:
      --app string             App handle
  -e, --env string             Environment handle (alias)
      --environment string     Environment handle
      --idle-timeout string    Idle timeout in seconds (or 'default' to reset)
      --ip-whitelist strings   IP CIDR whitelist (comma-separated or use flag multiple times)
      --no-ip-whitelist        Clear the IP whitelist
      --ports strings          Container ports (comma-separated or use flag multiple times)
```

# Examples

The options available for this command are similar to those available for [`aptible endpoints:tcp:create`](https://www.aptible.com/docs/reference/aptible-cli/cli-commands/cli-endpoints-tcp-create). Review the examples there.
