cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2389
Views
1
Helpful
2
Replies

Meraki disable SSID via Postman RESTAPI Call

leon.mflai
Level 1
Level 1

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>

1 Accepted Solution

Accepted Solutions

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.

SAMPLE REQUEST

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


View solution in original post

2 Replies 2

colo
Cisco Employee
Cisco Employee

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

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.

SAMPLE REQUEST

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


Getting Started

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: