Configure a specific port for an API

hello,
I created a new API, and I want to assign it a specific port for just this API, the rest of my APIs will run on another port.
I created a new port in API Gateway in the Administration/Security/Ports section, but I don’t know how to link between my API and the port.
can you help me if anyone has any idea how to do it.
thank you.

You can restrict APIs by port using allow and deny lists. For example, set your generic port to Allow by Default and add your specific API to the deny list. Then make you API-specific port Deny by Default and add the desired API to the allow list.
HTH,
Theo

2 Likes