Skip to content

4 Renew a connectionand extend its expiry period

manas11 edited this page Jun 26, 2021 · 1 revision

Renew a connectionand extend its expiry period


REQUEST: POST /connection/<id>/renew/

Request format: Application/json

{
	"new_expiry_period" : "00:50:00"
}

RESPONSE:

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"
}