Meraki API and Dashboard updateNetworkMerakiAuthUser

rsage_voda
Getting noticed

Meraki API and Dashboard updateNetworkMerakiAuthUser

I am trying to delete expired splash Guest user accounts from the dashboard using the API. This can only be done for authorised users. So first I have to re-authorise the users before then deleting them. The script works but I am recieving emails. As seen below I have set the emailPasswordUser = False and I am still getting emailed. I need to fix this before I put it into production as I don't want large numbers of emails being sent to end users.

networkAdded = dashboard.networks.updateNetworkMerakiAuthUser(
networkId, userId,
name=User["name"],
emailPasswordtoUser=False,
password=password,
# isAdmin = false,
authorizations=[{"ssidNumber": ssidNumber,
"authorisedZone": "XXXXXXX",
"authorizedByName": "XXXXXX",
"authorizedByEmail": "XXXXXX",
"expiresAt": response[0]}]
2 Replies 2
alemabrahao
Kind of a big deal
Kind of a big deal

I suggest you open a support case.

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

What error message do you get deleting a non-authorised user?

Get notified when there are additional replies to this discussion.