Update Organization


Overview

This exercise focuses on updating Organization settings.

We will be using the Mist “Organization” API to update organizations created in earlier exercises:

API Name Method URL
Create Org POST /api/v1/orgs
Get Org GET /api/v1/orgs/:org_id
Update Org PUT /api/v1/orgs/:org_id


Refer to the Mist “Organization” API documentation for a description of each configuration property:


Exercise

Steps:

  1. Update main.py with your Mist API Token and Mist Organization UUID created in the previous section.

  2. Run the exercise to update the organization name. Observe the “POST” API request fails due to unsupported method type.

  3. Continue the exercise and observe the successful “PUT” request on the same endpoint.