Close Instance Public Ports

POST {{aws_lightsail_base_url}}/?instanceName&portInfo&Version=2016-11-28

Request Params

KeyDatatypeRequiredDescription
instanceNamenullThe name of the instance on which you're attempting to close the public ports.
portInfonullInformation about the public port you are trying to close.
VersionstringThe version of the API.

Request Body

{"instanceName"=>"string", "portInfo"=>{"fromPort"=>42, "protocol"=>"string", "toPort"=>42}}