When using mock services or the proxy recorder on an OPL, sometimes limiting the port range that is open to the mock service or proxy recorder is necessary. Every Mock Service uses its own port, so consider that defining a port range limits the number of Mock Services that you can create and run on a particular agent (ship).
The following API lets you to limit the range of ports available on a specific ship:
|Api Key||Identifies the user (--user 'id:secret' ). How to get the API Key?|
|Patch Body||"portRange" is the only parameter needed.|
|HarborId||Harbor ID of the private location. How to get Harbor ID?|
|ShipId||Ship ID of the agent within the private location. How to get Ship ID?|