Find SubInterface ID
GET {{protocol}}://{{hostname}}/api/fmc_config/v1/domain/{{domain_id}}/devices/devicerecords/{{device_id}}/subinterfaces?expanded=True
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expanded | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-auth-access-token | string |
RESPONSES
status: 200
{"links":{"self":"https://fmc.example.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords/151d76e2-4262-11ec-abe1-ec138fe39c48/subinterfaces?offset=0\u0026limit=25\u0026expanded=True"},"items":[{"metadata":{"timestamp":1636646229803,"domain":{"name":"Global","id":"e276abec-e0f2-11e3-8169-6d9ed49b625f","type":"Domain"},"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":10,"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"}],"paging":{"offset":0,"limit":25,"count":1,"pages":1}}