delete_devices

Problem this snippet solves:

Introduced: EM_v3.0

Use the delete_devices API to remove devices currently being managed by an Enterprise Manager.

How to use this snippet:

Prototype

Python

ic.Management.EM.deletedevices(deviceaddresses)

C#, Java, and Perl

ic.getManagementEM().delete_devices(deviceAddresses);

Inputs

Name Type Description
IP addressesString SequenceThis parameter specifies the IP addresses or hostnames of the F5 device(s) that you want to delete from the list of managed devices.

Return values

There is no explicit return when this API executes successfully.

Exceptions

The table lists error categories that Enterprise Manager can raise if the API call fails.

Exception Name This exception is raised when...
AccessDeniedThe credentials supplied by the client do not satisfy the F5 device's validation requirements.
OperationFailedThe API call causes an operation error.
InvalidArgumentThe API call contains an invalid argument.

Code :

To view a code sample, click the relevant code type.
C# (.net)
Java
Perl
Python
Updated Jun 06, 2023
Version 2.0

Was this article helpful?

No CommentsBe the first to comment