Forum Discussion
raZorTT
Jun 05, 2019Cirrostratus
REST 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",
"...
- Jun 05, 2019
I would try this
https://dzavy.net/software/f5/how-to-add-or-remove-datagroup-records-using-icontrol-rest-api
KR,
Dario.
raZorTT
Jun 06, 2019Cirrostratus
Looks 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