delete
Code
- BIGIQ.delete(path: str) None
Deletes the object on the device.
Sends an HTTP DELETE request to the iControl REST API.
- Parameters:
path – HTTP path used in the HTTP request sent to the device.
- Exceptions:
RESTAPIError: Raised when iControl REST API returns an error.
Example
path = (
"/mgmt/cm/adc-core/working-config/ltm/node"
"?$filter=name eq '172.17.0.1'"
)
node_id = device.id(path)
device.delete(f"/mgmt/cm/adc-core/working-config/ltm/node/{node_id}")
Explanation
You need to provide the ID of the object, and it will be deleted from the device.