Does anyone have a working JSON snippet for POSTs to the Create Network Meraki Auth User endpoint (/networks/{networkId}/merakiAuthUsers) for "Client VPN" type users?
The API reference only lists "ssidNumber": integer , presumably for creating 802.1x users. For the Client VPN, based on the response to the GET call, I am guessing it is "authorizedZone" : [MX's name], but the API doesn't seem to agree with me, as my POST returns "The following required parameters are missing: 'email' and 'authorizations' "
My body looks like this:
{
"email": "email@redacted.com",
"name": "Test User",
"password": "example password",
"accountType": "Client VPN",
"emailPasswordToUser": true,
"isAdmin": false,
"authorizations": [
{
"authorizedZone": "Main - appliance",
"expiresAt": "Never"
}
]
}