Available VLANs between two ports

Get a list VLANs available between two ports.

Request

Endpoint: /api/services/available-vlans
Method: GET
Headers: Accept: application/vnd.cloudlx.v1+json
Authorization: Bearer <access_token>

Request Values - Required

port_id Description The ID of the port
Type Integer
Example 123
service_port_id Description The ID of the service port
Type Integer
Example 321

Request Values - Optional

secondary_port_id Description The ID of the secondary port (Azure/Azure Direct services only)
Type Integer
Example 890

Response

Example:

                                
    {
        "vlans": [
            2,
            3,
            4,
            10,
            11,
            ...
            4094
        ]
    }
                                
                            
vlans Description An array of the available VLAN numbers cross-referenced between the two (or three) provided ports)
Type Array(Integer)
Example [ 2, 3, 4, 5, 10, 1521, 3999 ]

Back to top