ngrok Agent CLI API Commands
With the ngrok agent CLI, you can use built-in commands to interact with the ngrok API.
For more information about the ngrok API and interfacing with it directly, see see the ngrok api page.
If you want to programmatically control the ngrok agent, the Agent
SDKs are usually a more flexible and powerful choice.
ngrok api
The api command provides access to ngrok's API. You can use the API through
one of the api subcommmands.
All api subcommands require an API key. You can configure it either through
a command flag (--api-key) or add it in ngrok's configuration file (api_key).
You can get get the initial API key at https://dashboard.ngrok.com/api.
Additional keys can be created through 'ngrok api api-key create' subcommand.
SubCommands
Flags
Flag | Description |
---|
--config | path to config files; they are merged if multiple |
ngrok api abuse-reports
Abuse Reports allow you to submit take-down requests for URLs hosted by
ngrok that violate ngrok's terms of service.
SubCommands
Command | Description |
---|
create | Creates a new abuse report which will be review... |
get | Get the detailed status of abuse report by ID. |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api abuse-reports create
Creates a new abuse report which will be reviewed by our system and abuse response team. This API is only available to authorized accounts. Contact abuse@ngrok.com to request access
Usage
ngrok api abuse-reports create [flags]
Flags
Flag | Description |
---|
--metadata | arbitrary user-defined data about this abuse report. Optional, max 4096 bytes. |
--urls | a list of URLs containing suspected abusive content |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api abuse-reports get
Get the detailed status of abuse report by ID.
Usage
ngrok api abuse-reports get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api agent-ingresses
SubCommands
Command | Description |
---|
create | Create a new Agent Ingress. The ngrok agent can... |
delete | Delete an Agent Ingress by ID |
get | Get the details of an Agent Ingress by ID. |
list | List all Agent Ingresses owned by this account |
update | Update attributes of an Agent Ingress by ID. |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api agent-ingresses create
Create a new Agent Ingress. The ngrok agent can be configured to connect to ngrok via the new set of addresses on the returned Agent Ingress.
Usage
ngrok api agent-ingresses create [flags]
Flags
Flag | Description |
---|
--certificate-management-policy.authority | certificate authority to request certificates from. The only supported value is letsencrypt. |
--certificate-management-policy.private-key-type | type of private key to use when requesting certificates. Defaults to rsa, can be either rsa or ecdsa. |
--description | human-readable description of the use of this Agent Ingress. optional, max 255 bytes. |
--domain | the domain that you own to be used as the base domain name to generate regional agent ingress domains. |
--metadata | arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api agent-ingresses delete
Delete an Agent Ingress by ID
Usage
ngrok api agent-ingresses delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api agent-ingresses get
Get the details of an Agent Ingress by ID.
Usage
ngrok api agent-ingresses get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api agent-ingresses list
List all Agent Ingresses owned by this account
Usage
ngrok api agent-ingresses list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api agent-ingresses update
Update attributes of an Agent Ingress by ID.
Usage
ngrok api agent-ingresses update <id> [flags]
Flags
Flag | Description |
---|
--certificate-management-policy.authority | certificate authority to request certificates from. The only supported value is letsencrypt. |
--certificate-management-policy.private-key-type | type of private key to use when requesting certificates. Defaults to rsa, can be either rsa or ecdsa. |
--description | human-readable description of the use of this Agent Ingress. optional, max 255 bytes. |
--metadata | arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api api-keys
API Keys are used to authenticate to the ngrok
API (https://ngrok.com/docs/api#authentication). You may use the API itself
to provision and manage API Keys but you'll need to provision your first API
key from the API Keys page (https://dashboard.ngrok.com/api/keys) on your
ngrok.com dashboard.
SubCommands
Command | Description |
---|
create | Create a new API key. The generated API key can... |
delete | Delete an API key by ID |
get | Get the details of an API key by ID. |
list | List all API keys owned by this account |
update | Update attributes of an API key by ID. |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api api-keys create
Create a new API key. The generated API key can be used to authenticate to the ngrok API.
Usage
ngrok api api-keys create [flags]
Flags
Flag | Description |
---|
--description | human-readable description of what uses the API key to authenticate. optional, max 255 bytes. |
--metadata | arbitrary user-defined data of this API key. optional, max 4096 bytes |
--owner-email | If supplied at credential creation, ownership will be assigned to the specified User. Only admins may specify an owner other than themselves. Both owner_id and owner_email may not be specified. |
--owner-id | If supplied at credential creation, ownership will be assigned to the specified User or Bot. Only admins may specify an owner other than themselves. Defaults to the authenticated User or Bot. |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api api-keys delete
Delete an API key by ID
Usage
ngrok api api-keys delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api api-keys get
Get the details of an API key by ID.
Usage
ngrok api api-keys get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api api-keys list
List all API keys owned by this account
Usage
ngrok api api-keys list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api api-keys update
Update attributes of an API key by ID.
Usage
ngrok api api-keys update <id> [flags]
Flags
Flag | Description |
---|
--description | human-readable description of what uses the API key to authenticate. optional, max 255 bytes. |
--metadata | arbitrary user-defined data of this API key. optional, max 4096 bytes |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api application-sessions
SubCommands
Command | Description |
---|
delete | Delete an application session by ID. |
get | Get an application session by ID. |
list | List all application sessions for this account. |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api application-sessions delete
Delete an application session by ID.
Usage
ngrok api application-sessions delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api application-sessions get
Get an application session by ID.
Usage
ngrok api application-sessions get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api application-sessions list
List all application sessions for this account.
Usage
ngrok api application-sessions list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api application-users
SubCommands
Command | Description |
---|
delete | Delete an application user by ID. |
get | Get an application user by ID. |
list | List all application users for this account. |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api application-users delete
Delete an application user by ID.
Usage
ngrok api application-users delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api application-users get
Get an application user by ID.
Usage
ngrok api application-users get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api application-users list
List all application users for this account.
Usage
ngrok api application-users list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends
SubCommands
Command | Description |
---|
failover | A Failover backend defines failover behavior within a list of refer... |
http-response | |
static-address | A static backend sends traffic to a TCP address (hostname and port)... |
tunnel-group | A Tunnel Group Backend balances traffic among all online tunnels th... |
weighted | A Weighted Backend balances traffic among the referenced backends. ... |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends failover
A Failover backend defines failover behavior within a list of referenced
backends. Traffic is sent to the first backend in the list. If that backend
is offline or no connection can be established, ngrok attempts to connect to
the next backend in the list until one is successful.
SubCommands
Command | Description |
---|
create | Create a new Failover backend |
delete | Delete a Failover backend by ID. |
get | Get detailed information about a Failover backe... |
list | List all Failover backends on this account |
update | Update Failover backend by ID |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends failover create
Create a new Failover backend
Usage
ngrok api backends failover create [flags]
Flags
Flag | Description |
---|
--backends | the ids of the child backends in order |
--description | human-readable description of this backend. Optional |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends failover delete
Delete a Failover backend by ID.
Usage
ngrok api backends failover delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends failover get
Get detailed information about a Failover backend by ID
Usage
ngrok api backends failover get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends failover list
List all Failover backends on this account
Usage
ngrok api backends failover list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends failover update
Update Failover backend by ID
Usage
ngrok api backends failover update <id> [flags]
Flags
Flag | Description |
---|
--backends | the ids of the child backends in order |
--description | human-readable description of this backend. Optional |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends http-response
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends http-response create
Usage
ngrok api backends http-response create [flags]
Flags
Flag | Description |
---|
--body | body to return as fixed content |
--description | human-readable description of this backend. Optional |
--headers | headers to return |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--status-code | status code to return |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends http-response delete
Usage
ngrok api backends http-response delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends http-response get
Usage
ngrok api backends http-response get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends http-response list
Usage
ngrok api backends http-response list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends http-response update
Usage
ngrok api backends http-response update <id> [flags]
Flags
Flag | Description |
---|
--body | body to return as fixed content |
--description | human-readable description of this backend. Optional |
--headers | headers to return |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--status-code | status code to return |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends static-address
A static backend sends traffic to a TCP address (hostname and port) that
is reachable on the public internet.
SubCommands
Command | Description |
---|
create | Create a new static backend |
delete | Delete a static backend by ID. |
get | Get detailed information about a static backend... |
list | List all static backends on this account |
update | Update static backend by ID |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends static-address create
Create a new static backend
Usage
ngrok api backends static-address create [flags]
Flags
Flag | Description |
---|
--address | the address to forward to |
--description | human-readable description of this backend. Optional |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--tls.enabled | if TLS is checked |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends static-address delete
Delete a static backend by ID.
Usage
ngrok api backends static-address delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends static-address get
Get detailed information about a static backend by ID
Usage
ngrok api backends static-address get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends static-address list
List all static backends on this account
Usage
ngrok api backends static-address list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends static-address update
Update static backend by ID
Usage
ngrok api backends static-address update <id> [flags]
Flags
Flag | Description |
---|
--address | the address to forward to |
--description | human-readable description of this backend. Optional |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--tls.enabled | if TLS is checked |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends tunnel-group
A Tunnel Group Backend balances traffic among all online tunnels that match
a label selector.
SubCommands
Command | Description |
---|
create | Create a new TunnelGroup backend |
delete | Delete a TunnelGroup backend by ID. |
get | Get detailed information about a TunnelGroup ba... |
list | List all TunnelGroup backends on this account |
update | Update TunnelGroup backend by ID |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends tunnel-group create
Create a new TunnelGroup backend
Usage
ngrok api backends tunnel-group create [flags]
Flags
Flag | Description |
---|
--description | human-readable description of this backend. Optional |
--labels | labels to watch for tunnels on, e.g. app->foo, dc->bar |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends tunnel-group delete
Delete a TunnelGroup backend by ID.
Usage
ngrok api backends tunnel-group delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends tunnel-group get
Get detailed information about a TunnelGroup backend by ID
Usage
ngrok api backends tunnel-group get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends tunnel-group list
List all TunnelGroup backends on this account
Usage
ngrok api backends tunnel-group list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends tunnel-group update
Update TunnelGroup backend by ID
Usage
ngrok api backends tunnel-group update <id> [flags]
Flags
Flag | Description |
---|
--description | human-readable description of this backend. Optional |
--labels | labels to watch for tunnels on, e.g. app->foo, dc->bar |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends weighted
A Weighted Backend balances traffic among the referenced backends. Traffic
is assigned proportionally to each based on its weight. The percentage of
traffic is calculated by dividing a backend's weight by the sum of all
weights.
SubCommands
Command | Description |
---|
create | Create a new Weighted backend |
delete | Delete a Weighted backend by ID. |
get | Get detailed information about a Weighted backe... |
list | List all Weighted backends on this account |
update | Update Weighted backend by ID |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends weighted create
Create a new Weighted backend
Usage
ngrok api backends weighted create [flags]
Flags
Flag | Description |
---|
--backends | the ids of the child backends to their weights [0-10000] |
--description | human-readable description of this backend. Optional |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends weighted delete
Delete a Weighted backend by ID.
Usage
ngrok api backends weighted delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends weighted get
Get detailed information about a Weighted backend by ID
Usage
ngrok api backends weighted get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends weighted list
List all Weighted backends on this account
Usage
ngrok api backends weighted list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api backends weighted update
Update Weighted backend by ID
Usage
ngrok api backends weighted update <id> [flags]
Flags
Flag | Description |
---|
--backends | the ids of the child backends to their weights [0-10000] |
--description | human-readable description of this backend. Optional |
--metadata | arbitrary user-defined machine-readable data of this backend. Optional |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api bot-users
SubCommands
Command | Description |
---|
create | Create a new bot user |
delete | Delete a bot user by ID |
get | Get the details of a Bot User by ID. |
list | List all bot users in this account. |
update | Update attributes of a bot user by ID. |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api bot-users create
Create a new bot user
Usage
ngrok api bot-users create [flags]
Flags
Flag | Description |
---|
--active | whether or not the bot is active |
--name | human-readable name used to identify the bot |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api bot-users delete
Delete a bot user by ID
Usage
ngrok api bot-users delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api bot-users get
Get the details of a Bot User by ID.
Usage
ngrok api bot-users get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api bot-users list
List all bot users in this account.
Usage
ngrok api bot-users list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api bot-users update
Update attributes of a bot user by ID.
Usage
ngrok api bot-users update <id> [flags]
Flags
Flag | Description |
---|
--active | whether or not the bot is active |
--name | human-readable name used to identify the bot |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api certificate-authorities
Certificate Authorities are x509 certificates that are used to sign other
x509 certificates. Attach a Certificate Authority to the Mutual TLS module
to verify that the TLS certificate presented by a client has been signed by
this CA. Certificate Authorities are used only for mTLS validation only and
thus a private key is not included in the resource.
SubCommands
Command | Description |
---|
create | Upload a new Certificate Authority |
delete | Delete a Certificate Authority |
get | Get detailed information about a certficate aut... |
list | List all Certificate Authority on this account |
update | Update attributes of a Certificate Authority by... |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api certificate-authorities create
Upload a new Certificate Authority
Usage
ngrok api certificate-authorities create [flags]
Flags
Flag | Description |
---|
--ca-pem | raw PEM of the Certificate Authority |
--description | human-readable description of this Certificate Authority. optional, max 255 bytes. |
--metadata | arbitrary user-defined machine-readable data of this Certificate Authority. optional, max 4096 bytes. |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api certificate-authorities delete
Delete a Certificate Authority
Usage
ngrok api certificate-authorities delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api certificate-authorities get
Get detailed information about a certficate authority
Usage
ngrok api certificate-authorities get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api certificate-authorities list
List all Certificate Authority on this account
Usage
ngrok api certificate-authorities list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api certificate-authorities update
Update attributes of a Certificate Authority by ID
Usage
ngrok api certificate-authorities update <id> [flags]
Flags
Flag | Description |
---|
--description | human-readable description of this Certificate Authority. optional, max 255 bytes. |
--metadata | arbitrary user-defined machine-readable data of this Certificate Authority. optional, max 4096 bytes. |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api credentials
Tunnel Credentials are ngrok agent authtokens. They authorize the ngrok
agent to connect the ngrok service as your account. They are installed with
the ngrok config add-authtoken command or by specifying it in the ngrok.yml
configuration file with the authtoken property.
SubCommands
Command | Description |
---|
create | Create a new tunnel authtoken credential. This ... |
delete | Delete a tunnel authtoken credential by ID |
get | Get detailed information about a tunnel authtok... |
list | List all tunnel authtoken credentials on this a... |
update | Update attributes of an tunnel authtoken creden... |
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api credentials create
Create a new tunnel authtoken credential. This authtoken credential can be used to start a new tunnel session. The response to this API call is the only time the generated token is available. If you need it for future use, you must save it securely yourself.
Usage
ngrok api credentials create [flags]
Flags
Flag | Description |
---|
--acl | optional list of ACL rules. If unspecified, the credential will have no restrictions. The only allowed ACL rule at this time is the bind rule. The bind rule allows the caller to restrict what domains, addresses, and labels the token is allowed to bind. For example, to allow the token to open a tunnel on example.ngrok.io your ACL would include the rule bind:example.ngrok.io. Bind rules for domains may specify a leading wildcard to match multiple domains with a common suffix. For example, you may specify a rule of bind:.example.com which will allow x.example.com, y.example.com, .example.com, etc. Bind rules for labels may specify a wildcard key and/or value to match multiple labels. For example, you may specify a rule of bind:=example which will allow x=example, y=example, etc. A rule of '' is equivalent to no acl at all and will explicitly permit all actions. |
--description | human-readable description of who or what will use the credential to authenticate. Optional, max 255 bytes. |
--metadata | arbitrary user-defined machine-readable data of this credential. Optional, max 4096 bytes. |
--owner-email | If supplied at credential creation, ownership will be assigned to the specified User. Only admins may specify an owner other than themselves. Both owner_id and owner_email may not be specified. |
--owner-id | If supplied at credential creation, ownership will be assigned to the specified User or Bot. Only admins may specify an owner other than themselves. Defaults to the authenticated User or Bot. |
--precomputed-token | Only authorized accounts may supply a pre-computed token that will be associated with the created credentials. |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api credentials delete
Delete a tunnel authtoken credential by ID
Usage
ngrok api credentials delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api credentials get
Get detailed information about a tunnel authtoken credential
Usage
ngrok api credentials get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api credentials list
List all tunnel authtoken credentials on this account
Usage
ngrok api credentials list [flags]
Flags
Flag | Description |
---|
--before-id | |
--limit | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api credentials update
Update attributes of an tunnel authtoken credential by ID
Usage
ngrok api credentials update <id> [flags]
Flags
Flag | Description |
---|
--acl | optional list of ACL rules. If unspecified, the credential will have no restrictions. The only allowed ACL rule at this time is the bind rule. The bind rule allows the caller to restrict what domains, addresses, and labels the token is allowed to bind. For example, to allow the token to open a tunnel on example.ngrok.io your ACL would include the rule bind:example.ngrok.io. Bind rules for domains may specify a leading wildcard to match multiple domains with a common suffix. For example, you may specify a rule of bind:.example.com which will allow x.example.com, y.example.com, .example.com, etc. Bind rules for labels may specify a wildcard key and/or value to match multiple labels. For example, you may specify a rule of bind:=example which will allow x=example, y=example, etc. A rule of '' is equivalent to no acl at all and will explicitly permit all actions. |
--description | human-readable description of who or what will use the credential to authenticate. Optional, max 255 bytes. |
--metadata | arbitrary user-defined machine-readable data of this credential. Optional, max 4096 bytes. |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-mutual-tls
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-mutual-tls delete
Usage
ngrok api edge-modules https-edge-mutual-tls delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-mutual-tls get
Usage
ngrok api edge-modules https-edge-mutual-tls get <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-mutual-tls replace
Usage
ngrok api edge-modules https-edge-mutual-tls replace <id> [flags]
Flags
Flag | Description |
---|
--module.certificate-authority-ids | list of certificate authorities that will be used to validate the TLS client certificate presented by the initiator of the TLS connection |
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-backend
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-backend delete
Usage
ngrok api edge-modules https-edge-route-backend delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-backend get
Usage
ngrok api edge-modules https-edge-route-backend get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-backend replace
Usage
ngrok api edge-modules https-edge-route-backend replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.backend-id | backend to be used to back this endpoint |
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-circuit-breaker
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-circuit-breaker delete
Usage
ngrok api edge-modules https-edge-route-circuit-breaker delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-circuit-breaker get
Usage
ngrok api edge-modules https-edge-route-circuit-breaker get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-circuit-breaker replace
Usage
ngrok api edge-modules https-edge-route-circuit-breaker replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--module.error-threshold-percentage | Error threshold percentage should be between 0 - 1.0, not 0-100.0 |
--module.num-buckets | Integer number of buckets into which metrics are retained. Max 128. |
--module.rolling-window | Integer number of seconds in the statistical rolling window that metrics are retained for. |
--module.tripped-duration | Integer number of seconds after which the circuit is tripped to wait before re-evaluating upstream health |
--module.volume-threshold | Integer number of requests in a rolling window that will trip the circuit. Helpful if traffic volume is low. |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-compression
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-compression delete
Usage
ngrok api edge-modules https-edge-route-compression delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-compression get
Usage
ngrok api edge-modules https-edge-route-compression get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-compression replace
Usage
ngrok api edge-modules https-edge-route-compression replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-ip-restriction
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-ip-restriction delete
Usage
ngrok api edge-modules https-edge-route-ip-restriction delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-ip-restriction get
Usage
ngrok api edge-modules https-edge-route-ip-restriction get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-ip-restriction replace
Usage
ngrok api edge-modules https-edge-route-ip-restriction replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--module.ip-policy-ids | list of all IP policies that will be used to check if a source IP is allowed access to the endpoint |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-oauth
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-oauth delete
Usage
ngrok api edge-modules https-edge-route-oauth delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-oauth get
Usage
ngrok api edge-modules https-edge-route-oauth get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-oauth replace
Usage
ngrok api edge-modules https-edge-route-oauth replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.auth-check-interval | Integer number of seconds after which ngrok guarantees it will refresh user state from the identity provider and recheck whether the user is still authorized to access the endpoint. This is the preferred tunable to use to enforce a minimum amount of time after which a revoked user will no longer be able to access the resource. |
--module.cookie-prefix | the prefix of the session cookie that ngrok sets on the http client to cache authentication. default is 'ngrok.' |
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--module.inactivity-timeout | Integer number of seconds of inactivity after which if the user has not accessed the endpoint, their session will time out and they will be forced to reauthenticate. |
--module.maximum-duration | Integer number of seconds of the maximum duration of an authenticated session. After this period is exceeded, a user must reauthenticate. |
--module.options-passthrough | Do not enforce authentication on HTTP OPTIONS requests. necessary if you are supporting CORS. |
--module.provider.amazon.client-id | |
--module.provider.amazon.client-secret | |
--module.provider.amazon.email-addresses | |
--module.provider.amazon.email-domains | |
--module.provider.amazon.scopes | |
--module.provider.facebook.client-id | the OAuth app client ID. retrieve it from the identity provider's dashboard where you created your own OAuth app. optional. if unspecified, ngrok will use its own managed oauth application which has additional restrictions. see the OAuth module docs for more details. if present, client_secret must be present as well. |
--module.provider.facebook.client-secret | the OAuth app client secret. retrieve if from the identity provider's dashboard where you created your own OAuth app. optional, see all of the caveats in the docs for client_id. |
--module.provider.facebook.email-addresses | a list of email addresses of users authenticated by identity provider who are allowed access to the endpoint |
--module.provider.facebook.email-domains | a list of email domains of users authenticated by identity provider who are allowed access to the endpoint |
--module.provider.facebook.scopes | a list of provider-specific OAuth scopes with the permissions your OAuth app would like to ask for. these may not be set if you are using the ngrok-managed oauth app (i.e. you must pass both client_id and client_secret to set scopes) |
--module.provider.github.client-id | the OAuth app client ID. retrieve it from the identity provider's dashboard where you created your own OAuth app. optional. if unspecified, ngrok will use its own managed oauth application which has additional restrictions. see the OAuth module docs for more details. if present, client_secret must be present as well. |
--module.provider.github.client-secret | the OAuth app client secret. retrieve if from the identity provider's dashboard where you created your own OAuth app. optional, see all of the caveats in the docs for client_id. |
--module.provider.github.email-addresses | a list of email addresses of users authenticated by identity provider who are allowed access to the endpoint |
--module.provider.github.email-domains | a list of email domains of users authenticated by identity provider who are allowed access to the endpoint |
--module.provider.github.organizations | a list of github org identifiers. users who are members of any of the listed organizations will be allowed access. identifiers should be the organization's 'slug' |
--module.provider.github.scopes | a list of provider-specific OAuth scopes with the permissions your OAuth app would like to ask for. these may not be set if you are using the ngrok-managed oauth app (i.e. you must pass both client_id and client_secret to set scopes) |
--module.provider.github.teams | a list of github teams identifiers. users will be allowed access to the endpoint if they are a member of any of these teams. identifiers should be in the 'slug' format qualified with the org name, e.g. org-name/team-name |
--module.provider.gitlab.client-id | |
--module.provider.gitlab.client-secret | |
--module.provider.gitlab.email-addresses | |
--module.provider.gitlab.email-domains | |
--module.provider.gitlab.scopes | |
--module.provider.google.client-id | the OAuth app client ID. retrieve it from the identity provider's dashboard where you created your own OAuth app. optional. if unspecified, ngrok will use its own managed oauth application which has additional restrictions. see the OAuth module docs for more details. if present, client_secret must be present as well. |
--module.provider.google.client-secret | the OAuth app client secret. retrieve if from the identity provider's dashboard where you created your own OAuth app. optional, see all of the caveats in the docs for client_id. |
--module.provider.google.email-addresses | a list of email addresses of users authenticated by identity provider who are allowed access to the endpoint |
--module.provider.google.email-domains | a list of email domains of users authenticated by identity provider who are allowed access to the endpoint |
--module.provider.google.scopes | a list of provider-specific OAuth scopes with the permissions your OAuth app would like to ask for. these may not be set if you are using the ngrok-managed oauth app (i.e. you must pass both client_id and client_secret to set scopes) |
--module.provider.linkedin.client-id | |
--module.provider.linkedin.client-secret | |
--module.provider.linkedin.email-addresses | |
--module.provider.linkedin.email-domains | |
--module.provider.linkedin.scopes | |
--module.provider.microsoft.client-id | the OAuth app client ID. retrieve it from the identity provider's dashboard where you created your own OAuth app. optional. if unspecified, ngrok will use its own managed oauth application which has additional restrictions. see the OAuth module docs for more details. if present, client_secret must be present as well. |
--module.provider.microsoft.client-secret | the OAuth app client secret. retrieve if from the identity provider's dashboard where you created your own OAuth app. optional, see all of the caveats in the docs for client_id. |
--module.provider.microsoft.email-addresses | a list of email addresses of users authenticated by identity provider who are allowed access to the endpoint |
--module.provider.microsoft.email-domains | a list of email domains of users authenticated by identity provider who are allowed access to the endpoint |
--module.provider.microsoft.scopes | a list of provider-specific OAuth scopes with the permissions your OAuth app would like to ask for. these may not be set if you are using the ngrok-managed oauth app (i.e. you must pass both client_id and client_secret to set scopes) |
--module.provider.twitch.client-id | |
--module.provider.twitch.client-secret | |
--module.provider.twitch.email-addresses | |
--module.provider.twitch.email-domains | |
--module.provider.twitch.scopes | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-oidc
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-oidc delete
Usage
ngrok api edge-modules https-edge-route-oidc delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-oidc get
Usage
ngrok api edge-modules https-edge-route-oidc get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-oidc replace
Usage
ngrok api edge-modules https-edge-route-oidc replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.client-id | The OIDC app's client ID and OIDC audience. |
--module.client-secret | The OIDC app's client secret. |
--module.cookie-prefix | the prefix of the session cookie that ngrok sets on the http client to cache authentication. default is 'ngrok.' |
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--module.inactivity-timeout | Integer number of seconds of inactivity after which if the user has not accessed the endpoint, their session will time out and they will be forced to reauthenticate. |
--module.issuer | URL of the OIDC "OpenID provider". This is the base URL used for discovery. |
--module.maximum-duration | Integer number of seconds of the maximum duration of an authenticated session. After this period is exceeded, a user must reauthenticate. |
--module.options-passthrough | Do not enforce authentication on HTTP OPTIONS requests. necessary if you are supporting CORS. |
--module.scopes | The set of scopes to request from the OIDC identity provider. |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
Usage
ngrok api edge-modules https-edge-route-request-headers delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
Usage
ngrok api edge-modules https-edge-route-request-headers get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
Usage
ngrok api edge-modules https-edge-route-request-headers replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.add | a map of header key to header value that will be injected into the HTTP Request before being sent to the upstream application server |
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--module.remove | a list of header names that will be removed from the HTTP Request before being sent to the upstream application server |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
Usage
ngrok api edge-modules https-edge-route-response-headers delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
Usage
ngrok api edge-modules https-edge-route-response-headers get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
Usage
ngrok api edge-modules https-edge-route-response-headers replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.add | a map of header key to header value that will be injected into the HTTP Response returned to the HTTP client |
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--module.remove | a list of header names that will be removed from the HTTP Response returned to the HTTP client |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-saml
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-saml delete
Usage
ngrok api edge-modules https-edge-route-saml delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-saml get
Usage
ngrok api edge-modules https-edge-route-saml get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-saml replace
Usage
ngrok api edge-modules https-edge-route-saml replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.allow-idp-initiated | If true, the IdP may initiate a login directly (e.g. the user does not need to visit the endpoint first and then be redirected). The IdP should set the RelayState parameter to the target URL of the resource they want the user to be redirected to after the SAML login assertion has been processed. |
--module.authorized-groups | If present, only users who are a member of one of the listed groups may access the target endpoint. |
--module.cookie-prefix | the prefix of the session cookie that ngrok sets on the http client to cache authentication. default is 'ngrok.' |
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--module.force-authn | If true, indicates that whenever we redirect a user to the IdP for authentication that the IdP must prompt the user for authentication credentials even if the user already has a valid session with the IdP. |
--module.idp-metadata | The full XML IdP EntityDescriptor. Your IdP may provide this to you as a a file to download or as a URL. |
--module.idp-metadata-url | The IdP's metadata URL which returns the XML IdP EntityDescriptor. The IdP's metadata URL specifies how to connect to the IdP as well as its public key which is then used to validate the signature on incoming SAML assertions to the ACS endpoint. |
--module.inactivity-timeout | Integer number of seconds of inactivity after which if the user has not accessed the endpoint, their session will time out and they will be forced to reauthenticate. |
--module.maximum-duration | Integer number of seconds of the maximum duration of an authenticated session. After this period is exceeded, a user must reauthenticate. |
--module.nameid-format | Defines the name identifier format the SP expects the IdP to use in its assertions to identify subjects. If unspecified, a default value of urn:oasis:names:tc:SAML:2.0:nameid-format:persistent will be used. A subset of the allowed values enumerated by the SAML specification are supported. |
--module.options-passthrough | Do not enforce authentication on HTTP OPTIONS requests. necessary if you are supporting CORS. |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-traffic-policy
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-traffic-policy delete
Usage
ngrok api edge-modules https-edge-route-traffic-policy delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-traffic-policy get
Usage
ngrok api edge-modules https-edge-route-traffic-policy get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-traffic-policy replace
Usage
ngrok api edge-modules https-edge-route-traffic-policy replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--module.value | the traffic policy that should be applied to the traffic on your endpoint. |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-user-agent-filter
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-user-agent-filter delete
Usage
ngrok api edge-modules https-edge-route-user-agent-filter delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-user-agent-filter get
Usage
ngrok api edge-modules https-edge-route-user-agent-filter get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-user-agent-filter replace
Usage
ngrok api edge-modules https-edge-route-user-agent-filter replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.allow | |
--module.deny | |
--module.enabled | |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-webhook-verification
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-webhook-verification delete
Usage
ngrok api edge-modules https-edge-route-webhook-verification delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-webhook-verification get
Usage
ngrok api edge-modules https-edge-route-webhook-verification get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-webhook-verification replace
Usage
ngrok api edge-modules https-edge-route-webhook-verification replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--module.provider | a string indicating which webhook provider will be sending webhooks to this endpoint. Value must be one of the supported providers defined at https://ngrok.com/docs/cloud-edge/modules/webhook-verification (https://ngrok.com/docs/cloud-edge/modules/webhook-verification) |
--module.secret | a string secret used to validate requests from the given provider. All providers except AWS SNS require a secret |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-websocket-tcp-converter
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-websocket-tcp-converter delete
Usage
ngrok api edge-modules https-edge-route-websocket-tcp-converter delete <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-websocket-tcp-converter get
Usage
ngrok api edge-modules https-edge-route-websocket-tcp-converter get <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-route-websocket-tcp-converter replace
Usage
ngrok api edge-modules https-edge-route-websocket-tcp-converter replace <edge-id> <id> [flags]
Flags
Flag | Description |
---|
--module.enabled | true if the module will be applied to traffic, false to disable. default true if unspecified |
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-tls-termination
SubCommands
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-tls-termination delete
Usage
ngrok api edge-modules https-edge-tls-termination delete <id> [flags]
Flags
Flag | Description |
---|
--api-key | API key to use |
--config | path to config files; they are merged if multiple |
--log | path to log file, 'stdout', 'stderr' or 'false' |
--log-format | log record format: 'term', 'logfmt', 'json' |
--log-level | logging level: 'debug', 'info', 'warn', 'error', 'crit' |
ngrok api edge-modules https-edge-tls-termination get
Usage
ngrok api edge-modules https-edge-tls-termination get <id> [flags]
Flags