cURL
curl --request GET \ --url https://api.example.com/service/{tenant_name}/l2 \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": 123, "name": "<string>", "mtu": 9220, "operational_state": "up", "location": "<string>", "virtual_interface_id": 123, "virtual_interface_name": "<string>", "trunk": false, "parent": "<string>", "vlan_id": 123, "labels": { "description": "<string>" } } ], "count": 0, "total_count": 0 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes