-
Notifications
You must be signed in to change notification settings - Fork 0
4 Renew a connectionand extend its expiry period
manas11 edited this page Jun 26, 2021
·
1 revision
Request format: Application/json
{
"new_expiry_period" : "00:50:00"
}
Response: 200 OK
{
"id": 1,
"rule_protocol": "tcp",
"active": false,
"created_at": "2021-06-26T00:03:53.385409+05:30",
"updated_at": "2021-06-26T00:04:44.592041+05:30",
"renewal_count": 0,
"source_ip": "8.8.8.8",
"forwarder_port": "23987",
"destination_ip": "10.15.16.17",
"destination_port": "7800",
"expiry_period": "00:10:00"
}
- Response returned as
401 Unauthenticated Access
if authentication mechanism used in request does not pass. - Response returned as
405 Method Not Allowed
if HTTP method other than those mentioned in Wiki are used in Request. - Response returned as
500 Internal Server Error
if server encounters an error while processing the request.