An engineer needs to remove the device with serialQ134_06776318 FROM THE NETWORK ‘ENAUTO by utilizing Meraki APIs. Which line of code must be added to the box where the code is missing to complete the python request?
To remove a device from the network ‘ENAUTO’ using Meraki APIs, the engineer must send an HTTP DELETE request to the Meraki API endpoint for device removal. The correct line of code to be added should specify the DELETE method, the URL for the API endpoint, and include headers that typically contain authentication information. Option B is correct because it uses requests.request('DELETE', url, headers=headers) which specifies the DELETE method and includes both the URL and necessary headers. References: Automating Cisco Enterprise Solutions Official Cert Guide
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit