Question 49 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question 49 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question

DRAG DROP - Drag and drop the code onto the snippet to update a SSID in Meraki using the Dashboard API.

Not all options are used.

Select and Place:

Answer Area

base_url = “https: //api.meraki.com/api/v0”
network_id = “N_1234567890”

requests .put (

+“ /networks/” +

headers = {

“X-Cisco-Meraki-API-Key”:

“Content-Type”: “

,

data = json.dumps ({

“number:L 0,
“name”: ssid,
“enabled”: True,
“authMode”: “psk’,

“psk”:

“wpaEncryptionMode” :

w: “wpa”,

“WPA2 only”

+ “/ssids/0”,

application/json

organization_id

network_id

wireless _password| base_url

api_key

encryptionMode

Explanations

Answer Area

base_url = “https: //api.meraki.com/api/v0”
network_id = “N_1234567890”

requests .put (

base_url

+» /networks/” +| network _id

headers = {

“X-Cisco-Meraki-API-Key”:

api_key

“Content-Type”: “ | application/json

,

data = json.dumps ({

“number:L 0,
“name”: ssid,
“enabled”: True,
“authMode”: “psk’,

“psk": | wireless _password|

» | encryptionMode |“: “wpa”,

“wpaEncryptionMode”: “WPA2 only”

+ “/ssids/0”,

application/json

organization_id

network_id

wireless _password| base_url

api_key

encryptionMode