Updating switch access policy using org-wide radius servers

Solved
WellyHartanto
Getting noticed

Updating switch access policy using org-wide radius servers

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
RaphaelL
Kind of a big deal
Kind of a big deal

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
RaphaelL
Kind of a big deal
Kind of a big deal

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
Head in the Cloud

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 Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
WellyHartanto
Getting noticed

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.

 

@RaphaelL 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!
RaphaelL
Kind of a big deal
Kind of a big deal

Well ! Glad it's working ! 😏

Mloraditch
Head in the Cloud

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 Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
Get notified when there are additional replies to this discussion.