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

Last Modified: Mar 17, 2021

Bug Tracker

Affected Product:  See more info
BIG-IP TMOS(all modules)

Known Affected Versions:
11.5.1, 11.5.1 HF1, 11.5.1 HF10, 11.5.1 HF11, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.10, 11.5.2, 11.5.2 HF1, 11.5.3, 11.5.3 HF1, 11.5.3 HF2, 11.5.4, 11.5.4 HF1, 11.5.4 HF2, 11.5.4 HF3, 11.5.4 HF4, 11.5.5, 11.5.6, 11.5.7, 11.5.8, 11.5.9, 11.6.0, 11.6.0 HF1, 11.6.0 HF2, 11.6.0 HF3, 11.6.0 HF4, 11.6.0 HF5, 11.6.0 HF6, 11.6.0 HF7, 11.6.0 HF8, 11.6.1, 11.6.1 HF1, 11.6.1 HF2, 11.6.2, 11.6.2 HF1, 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.0.0 HF2, 12.0.0 HF3, 12.0.0 HF4

Fixed In:
12.1.0

Opened: Dec 05, 2014
Severity: 4-Minor
Related AskF5 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