v1

latestSwagger 2.02026-07-13447786.5 KB
Listener

create listener

Create a new listener

post/listener

Request body

namestring required
ipstring

the interface this listener should bind to.

portinteger required

the port this listener should bind to.

protocol'http' | 'http2' | 'http_auto' | 'tcp' required

the protocol this listener will handle. http and http2 configure the listener to only process requests of that type. http_auto will adapt to HTTP/1.1 and HTTP/2 as needed. tcp configures the listener to be a tcp proxy

domain_keysstring[]
zone_keystring

Response

the newly created listener