Bug ID 494815: Optional parameters not supported in iControl REST DELETE

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
11.5.1, 11.5.2, 11.5.3, 11.5.4, 11.5.5, 11.5.6, 11.5.7, 11.5.8, 11.5.9, 11.5.10, 11.6.0, 11.6.1, 11.6.2, 11.6.3, 11.6.3.1, 11.6.3.2, 11.6.3.3, 11.6.3.4, 11.6.4, 11.6.5, 11.6.5.1, 11.6.5.2, 11.6.5.3, 12.0.0, 12.0.0 HF1, 12.1.0 HF1, 12.0.0 HF2, 12.1.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Fixed In:
12.1.0

Opened: Dec 05, 2014

Severity: 4-Minor

Related Article: K63569382

Symptoms

Some iControl REST DELETE calls fail.

Impact

Cannot delete certain config objects using iControl. The operation fails, and the system posts errors similar to the following: 'code':400,'message':'Query parameter options is invalid.','errorStack":[]}.

Conditions

This occurs when using iControl REST DELETE on objects for which tmsh requires additional parameters to complete the delete operation. Following are sample tmsh commands that represent objects of this type: -- tmsh delete ltm dns cache records <cache-type> type <record-type> cache <cache-name>. -- tmsh delete ltm clientssl ocsp-stapling-responses clientssl-profile clientssl virtual <virtual>. Following are the equivalent iControl REST calls: -- curl -sk -u <user>:<pwd> -X DELETE https://localhost/mgmt/tm/ltm/dns/cache/records/rrset?options=cache,<cache-name>.

Workaround

Use TMSH to complete delete operations in this case.

Fix Information

iControl REST now allows options parameter on DELETE, so iControl REST DELETE calls succeed as expected.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips