Close Instance Public Ports
POST {{aws_lightsail_base_url}}/?instanceName&portInfo&Version=2016-11-28
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
instanceName | null | The name of the instance on which you're attempting to close the public ports. | |
portInfo | null | Information about the public port you are trying to close. | |
Version | string | The version of the API. |
Request Body
{"instanceName"=>"string", "portInfo"=>{"fromPort"=>42, "protocol"=>"string", "toPort"=>42}}