Add a port range to a port list
POST
/v2/port_lists/{id}/port_rangeLast modified: 3 days ago
Create a port range
Request
Path Params
id
string
required
Body Params application/json
port_range
object
optional
start
integer
required
Example:
8000
end
integer
required
Example:
8080
type
enum<string>
required
Allowed values:
udptcp
Example:
udp
Example
{
"port_range": {
"start": 8000,
"end": 8080,
"type": "udp"
}
}
Request samples
Responses
Created(201)
Unauthorized(401)
Forbidden(403)
Record Not Found(404)
Parameter Error(422)
HTTP Code: 201
Content Type : JSONapplication/json
Port range created
Data Schema
object {0}
Example
{}
Last modified: 3 days ago