The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Interface

Prev Next

S.No

Request URI

Actions Allowed

Actions Performed

1

/sensor/<sensor_id>/interface/<interface_id or subinterface_id>

GET

Get interface or sub interface details.

2

/sensor/<sensor_id>/interface/<interface_id or subinterface_id >

PUT

Updates interface or sub interface details.

3

/sensor/<sensor_id>/interface/<interface_id>

POST

Adds a sub interface to the specified interface. The details of sub interface to be created are given in the request body.

4

/sensor/<sensor_id>/interface/<subinterface_id>

DELETE

Deletes the sub interface.

Only sub interface can be deleted, if an interface id is mentioned, the operation throws an error.

5

/sensor/<sensor_id>/interface/<interface_id or subinterface_id>/vlan

POST

Adds a vlan to the specified interface.

If a sub interface is given, the VLAN is assigned to the sub interface.

6

/sensor/<sensor_id>/interface/<interface_id or subinterface_id>/vlan/<vlan_ids>

DELETE

Revokes vlans from sub interface if subinterface id is mentioned.

Deletes vlan from interface if interface id is mentioned.

Note

multiple comma separated vlans can be provided for this operation.

7

/domain/<domain_id>/sensor/<sensor_id>/availableinterfaces

GET

Get the available interface to be allocated.

8

/domain/<domain_id>/sensor/<sensor_id>/allocatedinterfaces

GET

Get interfaces allocated to a Sensor inside a domain.

9

/sensor/<sensor_id>/interface/<interface_id>/allocatedcidrlist

GET

Get CIDR list allocated to an interface

10

/domain/<domain_id>/sensor/<sensor_id>/allocateinterface

PUT

Allocate an interface to a Sensor in child domain.

11

/domain/<domain_id>/sensor/<sensor_id>/interface/<interface_id>/revokeinterface?value=<id>

DELETE

Revoke an interface from a Sensor in child domain.

12

/sensor/<sensor_id>/interface/<interface_id or subinterface_id>/cidr

POST

Adds CIDRs to the specified interface.

If a sub interface is given, the CIDRs are assigned to the sub interface.

13

/sensor/<sensor_id>/interface/<interface_id or subinterface_id>/cidr

DELETE

Revokes CIDRs from sub interface if subinterface id is mentioned.

Deletes CIDRs from interface if interface id is mentioned.