cancel
Showing results for 
Search instead for 
Did you mean: 

API PUT blockedUrlCategories won't update. Comes back with not valid

Here to help

API PUT blockedUrlCategories won't update. Comes back with not valid

Trying to update blockedURLCategories I followed the example at the website and I get back blockedURLCategories is not valid. this is using the put request.

If i do a get, works find.

 

{
"allowedUrlPatterns": [
"http://www.example.org",
"http://help.com.au"
],
"blockedUrlPatterns": [
"http://www.example.com",
"http://www.betting.com"
],
"blockedUrlCategories": [
{
"id": "meraki:contentFiltering/category/1",
"name":"Real Estate"
},
{
"id":"meraki:contentFiltering/category/7",
"name":"Shopping"
}
],
"urlCategoryListSize": "topSites"
}

1 REPLY 1
Head in the Cloud

Re: API PUT blockedUrlCategories won't update. Comes back with not valid

I have the same behavior. Feels like a bug.

 

If you take away the contents of blockedUrlCategories it works:

{
	"allowedUrlPatterns": [
		"http://www.example.org",
		"http://help.com.au"
	],
	"blockedUrlPatterns": [
		"http://www.example.com",
		"http://www.betting.com"
	],
	"blockedUrlCategories": [],
	"urlCategoryListSize": "topSites"
}
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.