08-17-2017 02:21 AM - edited 03-01-2019 03:43 AM
Hi, I use following call for disable the SSID of my Meraki organzation but API return 403, I have admin rights for all these networks but I don't know what goes wrong
curl --request PUT \
--url 'https://n189.meraki.com/api/v0/organizations/693139/networks/L_669347494617941251/ssids/1' \
--header 'content-type: application/json' \
--header 'x-cisco-meraki-api-key: <Token>' \
--data '{
"enabled": false,
}
=========================================
<html>
<body>
<h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body>
</html>
Solved! Go to Solution.
08-21-2017 02:41 AM
Hi
I finally completed my work by leveraging this document.
https://dashboard.meraki.com/api_docs#update-the-attributes-of-an-ssid
The syntax and guidelines are clear.
curl -L -H 'X-Cisco-Meraki-API-Key: <key>' -X PUT -H 'Content-Type: application/json' --data-binary '{"name":"new SSID name", "enabled":true, "authMode":"psk", "encryptionMode":"wpa", "psk":"abcd1234", "ipAssignmentMode":"Bridge mode"}' 'https://dashboard.meraki.com/api/v0/networks/[networkId]/ssids/[numb
08-20-2017 11:57 AM
Ming,
Make sure you can perform the function on your dashboard UI. Sometimes users passwords expire or their password does not meet the org's security requirements. You should be an org admin to make a change. Note you don't need the organizations/[orgId] in that URL you are using.
I also suggest opening a support case on this one.
Regards,
Colin
08-21-2017 02:41 AM
Hi
I finally completed my work by leveraging this document.
https://dashboard.meraki.com/api_docs#update-the-attributes-of-an-ssid
The syntax and guidelines are clear.
curl -L -H 'X-Cisco-Meraki-API-Key: <key>' -X PUT -H 'Content-Type: application/json' --data-binary '{"name":"new SSID name", "enabled":true, "authMode":"psk", "encryptionMode":"wpa", "psk":"abcd1234", "ipAssignmentMode":"Bridge mode"}' 'https://dashboard.meraki.com/api/v0/networks/[networkId]/ssids/[numb
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: