Hi ,
I just ran a test on versions 14.1.2.2 and 13.1.3.2 successfully.
Best regards.
[root@bigipdelta:Active:Standalone] config # tmsh list ltm data-group internal dg_devcentral
ltm data-group internal dg_devcentral {
records {
key1 {
data value1
}
key2 {
data value2
}
key3 {
data value3
}
key4 {
data value4
}
key5 {
data value5
}
}
type string
}
[root@bigipdelta:Active:Standalone] config # curl -k -su "admin" -X PATCH -H 'Content-type: application/json' -d '{ "name":"dg_devcentral" }' https://localhost/mgmt/tm/ltm/data-group/internal/dg_devcentral?options=records%20delete%20%7B%20key1%20%7D |jq .
Enter host password for user 'admin':
{
"kind": "tm:ltm:data-group:internal:internalstate",
"name": "dg_devcentral",
"fullPath": "dg_devcentral",
"generation": 499,
"selfLink": "https://localhost/mgmt/tm/ltm/data-group/internal/dg_devcentral?options=records+delete+%7B+key1+%7D&ver=14.1.2.2",
"type": "string",
"records": [
{
"name": "key2",
"data": "value2"
},
{
"name": "key3",
"data": "value3"
},
{
"name": "key4",
"data": "value4"
},
{
"name": "key5",
"data": "value5"
}
]
}
[root@bigipdelta:Active:Standalone] config # curl -k -su "admin" -X PATCH -H 'Content-type: application/json' -d '{ "name":"dg_devcentral" }' https://localhost/mgmt/tm/ltm/data-group/internal/dg_devcentral?options=records%20add%20%7b%20key1%20%7b%20data%20value1%20%7d%20%7d |jq .
Enter host password for user 'admin':
{
"kind": "tm:ltm:data-group:internal:internalstate",
"name": "dg_devcentral",
"fullPath": "dg_devcentral",
"generation": 500,
"selfLink": "https://localhost/mgmt/tm/ltm/data-group/internal/dg_devcentral?options=records+add+%7B+key1+%7B+data+value1+%7D+%7D&ver=14.1.2.2",
"type": "string",
"records": [
{
"name": "key1",
"data": "value1"
},
{
"name": "key2",
"data": "value2"
},
{
"name": "key3",
"data": "value3"
},
{
"name": "key4",
"data": "value4"
},
{
"name": "key5",
"data": "value5"
}
]
}