Policy > Security > Security Profiles > Session Timer Profiles

Update Firewall Session Timer Profile

API will update Firewall Session Timer Profile This API is available when using VMware NSX-T or VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers).

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/global-infra/firewall-session-timer-profiles/<firewall-session-timer-profile-id>
/policy/api/v1/infra/firewall-session-timer-profiles/<firewall-session-timer-profile-id>
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
PolicyFirewallSessionTimerProfile+

Example Request:

PUT https://<nsx-mgr>/policy/api/v1/infra/firewall-session-timer-profiles/profile-1 { "resource_type": "PolicyFirewallSessionTimerProfile", "description": "", "display_name": "profile-1", "tcp_first_packet": 120, "tcp_opening": 30, "tcp_established": 43200, "tcp_closing": 900, "tcp_finwait": 20, "tcp_closed": 10, "udp_first_packet": 60, "udp_single": 30, "udp_multiple": 60, "icmp_first_packet": 20, "icmp_error_reply": 10 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyFirewallSessionTimerProfile+

Example Response:

{ "resource_type": "PolicyFirewallSessionTimerProfile", "description": "", "name":"profile-1", "id":"profile-1", "display_name": "profile-1", "path": "/infra/firewall-session-timer-profiles/profile-1", "relative_path": "profile-1", "tcp_first_packet": 120, "tcp_opening": 30, "tcp_established": 43200, "tcp_closing": 900, "tcp_finwait": 20, "tcp_closed": 10, "udp_first_packet": 60, "udp_single": 30, "udp_multiple": 60, "icmp_first_packet": 20, "icmp_error_reply": 10, "_create_user": "admin", "_create_time": 1516657975538, "_last_modified_user": "admin", "_last_modified_time": 1517353711231, "_system_owned": false, "_revision": 1 }

Required Permissions:

crud

Feature:

policy_security_profiles

Additional Errors: