de-authorize splash page users via API?

Yarin
Comes here often

de-authorize splash page users via API?

Hi guys.

We started working with a splash page connected to okta radius in order to validate users with their ldap

However, Meraki only offers duration based on time. which cause the session to revoke during important work/meetings.

We would like to revoke the splash page session on Saturday when no one is in the office.

is there a way to this on meraki CLI? 

or is there an api for de-authorize user. so I would build a script to get all the users and then revoke each sesion when I want.

5 Replies 5
alemabrahao
Kind of a big deal
Kind of a big deal

Meraki does not have CLI.  Here is the API that will help you.

 

https://developer.cisco.com/meraki/api/update-network-meraki-auth-user/

 

alemabrahao_0-1694599776266.png

 

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
alemabrahao
Kind of a big deal
Kind of a big deal

You can also schedule the SSID (I personally think this option is better).

 

https://documentation.meraki.com/MR/Other_Topics/SSID_Availability

https://meraki.cisco.com/blog/2011/03/when-24x7-isnt-a-good-thing-new-ssid-schedules/

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
Yarin
Comes here often

But scheduling will not revoke the access

The goal is just to revoke user session before work hours so it wont revoke in a middle of an important meeting.

 

I also started revwing the API you sent.

my auth users list is emtpy. does "Meraki Authentication for a network" also list users from okta radius?

alemabrahao
Kind of a big deal
Kind of a big deal

If users are not created on the portal, it will not be listed. So I actually believe you need this API.

 

https://developer.cisco.com/meraki/api/update-network-client-splash-authorization-status/

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
Yarin
Comes here often

Correct, I was already able to confirm it

However, for stange reason, in order to update the users I must use click through

I cant find a way to update the user authorization without being a meraki authrozed user

or using clicktorugh

 

The button exist on the UI, I see no reason to allow this action via API

Get notified when there are additional replies to this discussion.
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.
Labels