cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3119
Views
4
Helpful
5
Replies

Updating switch access policy using org-wide radius servers

wellyhartanto
Level 3
Level 3

Hi,

I'm leveraging organization-wide radius servers for switch access policies.

I'd like to update a specific policy in my org networks to use different radius servers defined in the org-wide radius servers using the API endpoint:

https://developer.cisco.com/meraki/api-v1/update-network-switch-access-policy/

However, I'm unable to obtain the information of currently configured org-wide radius servers on this API endpoint:
https://developer.cisco.com/meraki/api-v1/get-organization-auth-radius-servers/

I'm getting the 404 page with "The page you are looking for may have been moved or does not exist." on the response.

Would anyone be able to shed some light on this?

Thank you!

1 Accepted Solution

Accepted Solutions

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

Hi ,

I'm using this endpoint with success

https://api.meraki.com/api/v1/organizations/xxxxx/auth/radius/servers

[{"serverId":"xxxx","name":"xxxx","address":"xx","modes":[{"mode":"auth","port":1812},{"mode":"accounting","port":1813}]},{"serverId":"xxxx","name":"xxxx","address":"xxxx","modes":[{"mode":"auth","port":1812},{"mode":"accounting","port":1813}]},{"serverId":"xxxx","name":"xxxx","address":"xxxx","modes":[{"mode":"auth","port":1812},{"mode":"accounting","port":1813}]},{"serverId":"xxxx","name":"xxxx","address":"xxxx","modes":[{"mode":"auth","port":1812},{"mode":"accounting","port":1813}]}]

Can you paste the complete URL that you are using ?

View solution in original post

5 Replies 5

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

Hi ,

I'm using this endpoint with success

https://api.meraki.com/api/v1/organizations/xxxxx/auth/radius/servers

[{"serverId":"xxxx","name":"xxxx","address":"xx","modes":[{"mode":"auth","port":1812},{"mode":"accounting","port":1813}]},{"serverId":"xxxx","name":"xxxx","address":"xxxx","modes":[{"mode":"auth","port":1812},{"mode":"accounting","port":1813}]},{"serverId":"xxxx","name":"xxxx","address":"xxxx","modes":[{"mode":"auth","port":1812},{"mode":"accounting","port":1813}]},{"serverId":"xxxx","name":"xxxx","address":"xxxx","modes":[{"mode":"auth","port":1812},{"mode":"accounting","port":1813}]}]

Can you paste the complete URL that you are using ?

mloraditch
Meraki Community All-Star
Meraki Community All-Star

That second endpoint is an early access API. You need to enable early access api in your Organization, early access settings to use it.

I have successfully used it once I've done that.

If you found this post helpful, please give it a thumbs up. If my answer solves your problem please click Accept as Solution so others can benefit from it.

Hi @mloraditch I believe this org-wide radius servers feature is no longer in the Early Access section and has been moved to "production" but yes, I still see the API doc in the Early Access section, I wonder.

@Raphletourn indeed, it looks like I was using incorrect API endpoint... instead of https://api.meraki.com/api/v1/organizations/{organizationId}/auth/radius/servers

I was using:

I'm blaming myself for not having enough coffee this early morning 🙂
Thanks guys!

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

Well ! Glad it's working ! 😏

mloraditch
Meraki Community All-Star
Meraki Community All-Star

The actual feature itself is not early access anymore but the API endpoint is still early access.

Either way glad you got it working.

If you found this post helpful, please give it a thumbs up. If my answer solves your problem please click Accept as Solution so others can benefit from it.