api call
6 TopicsStruggling with Node.js API for Searching Profiles Across Multiple F5 Devices
Hey everyone, I’m working on a Node.js API that connects to my frontend and allows users to search for an SSL or LTM profile by name and get back all the relevant details. The twist is that the profile could live on any one of 40+ F5 devices (different mgmt IPs). Here’s what I’ve done so far: I’m using the F5 REST API and creating a session token for each mgmt IP to avoid basic auth on every call. I built a loop to query each device, aggregate results, and return the profile details if it exists. The problem: It’s not consistent. Sometimes the profile is found; other times it’s missed—even though it’s definitely there. I’m getting timeouts pretty frequently, which adds to the frustration. Feels like I’m doing too many sequential calls and maybe hitting performance or token issues. Has anyone tackled something similar? How do you structure your calls to make them reliable across multiple devices? Is there a recommended pattern for handling large-scale F5 REST calls in Node.js (parallelization, rate limits, caching)? Should I stick to session tokens or consider another auth pattern? Any tricks for minimizing timeouts when calling multiple mgmt IPs? Any examples, best practices, or lessons learned would be hugely appreciated. At this point, I’m looking for a clean way to make this work reliably before I refactor again. Thanks48Views0likes1CommentUpdate existing address list via API call?
I'm able to add an address list via a POST to /mgmt/cm/adc-core/working-config/net/ip-address-lists with a header containing the appropriate API token: Content-Type: application/json X-F5-Auth-Token: [token] and JSON body of: { "name" : "address_list_1", "addresses" : [ { "address" : "10.13.2.3", "description" : "none" }, { "address" : "10.11.12.13", "description" : "none" } ], "partition" : "Common", "description" : "this is an address list" } This works fine as long as the address list does not already exist. For an existing address list, I get: "code": 400, "message": "Duplicate item. Key already exists: partition : Common, name : address_list_1" However, I would like to be able to update an existing address list. How does one do that? I have tried changing the POST to PATCH: "code": 400, "message": "PATCH to collection not supported", or PUT: "code": 400, "message": "Collection PUT operations are not supported in collections that support references to items in the same collection" or DELETE, with the intention of recreating it: "code": 400, "message": "Collection DELETE operations are not supported in collections that support references to items in the same collection" I would appreciate any assistance. Being able to manipulate address lists seems like it should be a pretty basic function, but I'm stuck. Thanks!257Views0likes1Comment[APM] The F5 API returned the error BadRequest(400)
Hello Team , We use a tool for whitelisting the URL and IP's and push the configuration to F5 everyday . We have below error on the tool . Can we check anything on the F5 . I did not find any error message on the audit logs . Error : F5 synchronization batch reported an error while managing F5 : SendRequest: The F5 API returned the error BadRequest(400) received from the API: request failed with null exception245Views0likes1CommentCommand Line options for "roles" in API
I am trying to find a definitive list of the correct arguments that are allowed for the when perform an "add user" using the F5 API. I have searched through KBs and DevCentral and can not find the "list". I can find reference to what they are called and what they do in the GUI, but not the correct option for the API. https://support.f5.com/csp/article/K13225405users https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-user-account-administration-12-0-0/4.htmlunique_434454816 Anyone have any links or know this information? Example: Administrator = admin Operator = operator Acceleration Policy Editor = ?? Application Security Administrator = ?? Thanks!514Views0likes2Comments