Software Secure Workload
Activity Configure

Update a VRF

This endpoint updates a VRF. This API is available to API keys with sensor_management capability.

PUT /openapi/v1/vrfs/{vrf_id}

Parameters: The request URL contains the following parameters

Name

Type

Description

vrf_id

int

Unique identifier for the VRF.

The JSON request body contains the following parameters

Name

Type

Description

name

string

User specified name of the VRF.

apply_monitoring_rules

boolean

(optional) Whether collection rules should be applied to the VRF.

Response object: Returns the modified VRF object that is associated with the specified ID.

Sample python code


  vrf_id = 676767
  req_payload = {
      "name": "Test",
      "apply_monitoring_rules": True
  }
  resp = restclient.put('/vrfs/%d'% vrf_id,
                        json_body=json.dumps(req_payload))