Code str) → str

Get the ID of the object.

Sends an HTTP GET request to the iControl REST API.

Parameters:path – HTTP path used in the HTTP request sent to the device.
RESTAPIError: Raised when iControl REST API returns an error.


path = (
    "?$filter=name eq ''"
node_id =


BIG-IQ API requires an ID every time you want to specify a single object.
For example, if you want to delete an object, you need the object ID.
In this example, we want the ID of the node.
Then we delete the node using the ID we got.
The method id helps with this task, as it will return the ID of the object you want.
The text to be queried has to use single quotes, in this example ‘’.