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:
Steps:
Update main.py
with your Mist API Token and Mist Organization UUID created in the previous section.
Run the exercise to update the organization name. Observe the “POST” API request fails due to unsupported method type.
Continue the exercise and observe the successful “PUT” request on the same endpoint.