Forum Discussion
raZorTT
Cirrostratus
7 years agoREST API add records to data group (v14.1.)
Hi, I'm trying to update the records in a data group via the REST API, but when I use the following BODY in the PUT {
"records": [
{
"name": "test",
"...
- 7 years ago
I would try this
https://dzavy.net/software/f5/how-to-add-or-remove-datagroup-records-using-icontrol-rest-api
KR,
Dario.
raZorTT
Cirrostratus
7 years agoLooks like I should have paid more attention to the error.
I noticed it was complaining about trying to change the type, so adding the type:string to the JSON body resolved my issue.
{
"type":"string",
"records": [
{
"name": "test",
"data": "stuff"
},
{
"name": "testing",
"data": "more stuff"
}
]
}Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects