delete
Code
- BIGIP.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
device.delete(f"/mgmt/tm/ltm/node/{rest_format("/bigrest/172.17.0.1")}")
Explanation
You provide the full path for the object, and it will be deleted from the device.