Update SubInterface

PUT {{protocol}}://{{hostname}}/api/fmc_config/v1/domain/{{domain_id}}/devices/devicerecords/{{device_id}}/subinterfaces/{{device_subinterface_id}}

Request Body

{"id"=>"{{device_subinterface_id}}", "type"=>"SubInterface", "vlanId"=>100, "subIntfId"=>10, "enabled"=>true, "MTU"=>1500, "managementOnly"=>false, "enableSGTPropagate"=>true, "ifname"=>"{{device_subinterface}}", "name"=>"GigabitEthernet0/1", "ipv4"=>{"static"=>{"address"=>"198.19.253.1", "netmask"=>"24"}}}

HEADERS

KeyDatatypeRequiredDescription
X-auth-access-tokenstring

RESPONSES

status: 200

{"metadata":{"timestamp":0,"state":"COMMITTED"},"links":{"self":"https://fmc.example.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords/151d76e2-4262-11ec-abe1-ec138fe39c48/subinterfaces/000C291A-43AC-0ed3-0000-008589943417"},"type":"SubInterface","vlanId":100,"subIntfId":10,"enabled":true,"MTU":1500,"mode":"NONE","managementOnly":false,"enableSGTPropagate":true,"ipv4":{"static":{"address":"198.19.253.1","netmask":"24"}},"ipv6":{},"ifname":"Postman-SubInterface","name":"GigabitEthernet0/1","id":"000C291A-43AC-0ed3-0000-008589943417"}