Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Trying to create namedacl - returns error with the access_list payload format
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 04:52 PM
585     0
I get this error for the access_list format. I have tried different things . But I am unable to GET access_list or POST it. Appreciate any help on this.
RESPONSE :
{
"Error": "AdmConProtoError: Missing struct type in access_list.",
"code": "Client.Ibap.Proto",
"text": "Missing struct type in access_list."
}
CALL ::
POST : https://gridname/wapi/v2.13.1/namedacl
{
"name": "hello1",
"access_list" : [
{
"address": "22.22.22.22/24",
"permission":"ALLOW"
},
{
"address": "23.22.22.22/24",
"permission":"ALLOW"
}
]
}