300-435 Question 311
Single answerYou are tasked with automating the deployment of a new network for a branch office using the Cisco Meraki APIs. The requirements are to create a new network named 'Branch_Office_01' within an existing organization, configure it as a 'wireless' network, and enable API access. Which API endpoint and method combination would you use to create the network with these specifications?
- A
POST /organizations/{organizationId}/networks
- B
PUT /organizations/{organizationId}/networks/{networkId}
- C
POST /networks/{networkId}/clients
- D
GET /organizations/{organizationId}/networks
Show answer and explanation
Correct answer: A
Explanation
To create a new network in a Meraki organization, the correct API endpoint to use is 'POST /organizations/{organizationId}/networks'. This endpoint allows you to specify the network name, type, and other configurations during creation. The other options are either for different operations (e.g., update, retrieve, or manage clients) or rely on incorrect HTTP methods.
- A. Correct.
Correct: The 'POST /organizations/{organizationId}/networks' endpoint is used to create a new network within a specific organization, and the POST method is appropriate for this operation.
- B. Incorrect.
Incorrect: The PUT method is used to update an existing network, not to create a new one.
- C. Incorrect.
Incorrect: The 'POST /networks/{networkId}/clients' endpoint is used for managing clients within an existing network, not creating a new network.
- D. Incorrect.
Incorrect: The 'GET /organizations/{organizationId}/networks' endpoint is used to retrieve information about networks within an organization, not to create a new one.