QuestionQ48

Controller-Based Network Automation

Question Image

Refer to the exhibit. An engineer needs to delete the ENAUTO network by using Cisco Meraki APIs. Which code snippet must be added to the box to complete the Python code?

Explanation

Cisco Meraki deletes a network with the DELETE /networks/{networkId} operation. Python Requests sends a generic HTTP request with requests.request(method, url, **kwargs), so requests.request('DELETE', url, headers=headers, data=payload) correctly invokes that endpoint.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!