I can successfully call and get the data from getting a specific SSID network details, when i try to update the password {psk} i get a 404. Below is a snippet of the powershell code i am trying,
$deviceAPIUri = "$baseUrl$dashboardAPIVersion/networks/$MYNETWORK_ID/wireless/ssids/$GUEST_ID"
$response = Invoke-WebRequest -Uri $deviceAPIUri -Method GET -Headers $headers
#
# Check if Guest
if ($response.StatusCode -eq 200 ){
$ssidConfig = $response | ConvertFrom-Json
$ssidConfig.psk = "HelloThere"
#
#create JSON body with data to update.
#
$body = (ConvertTo-Json $ssidConfig)
Write-Host $body
$response1 = Invoke-RestMethod -Uri $deviceAPIUri -Method POST -Headers $headers -Body $body
write-host $response1
Please help. I have been able to use powershell and interact with the dashboard API without fail... until now.