09-13-2023 12:10 AM
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.
09-13-2023 03:09 AM
Meraki does not have CLI. Here is the API that will help you.
https://developer.cisco.com/meraki/api/update-network-meraki-auth-user/
09-13-2023 03:14 AM
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/
09-14-2023 01:27 AM
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?
09-14-2023 03:42 AM
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/
09-14-2023 03:47 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide