Hi,
I worked with an MSP and my goal is to loop through the organizations we manage and standardize some alert settings and stuff. The logic is built but I realized that most of the organizations do not have API access enabled hence it throws back the response " {'errors': ['To make requests you must first enable API access via https://n345.meraki.com/o/jKy789/manage/organization/edit']}'
is there an endpoint to help me enable API access for an organization?
Solved! Go to solution.
I understand your problem, but you are unfortunately in a paradox 😔
You're trying to tell your orgs to do something with the APIs, but how could this ever be possible when the APIs aren't enabled?
Now it would be theoretically awesome if there was one such API touchpoint that acted as kind of gate for the other touchpoints, but the security risk would be too immense for this to ever happen and it also probably wouldn't make sense 😄
I'm afraid you'll have to do this one thing the old school way!
Check this link below if it helps
That doesn't help but I appreciate. I want the endpoint that can allow me to enable the dashboard API.
Check this one
https://developer.cisco.com/meraki/api/#!get-organization-api-requests
Per my problem, I am expecting a PUT/POST method.
May be first you need to create the Org Access as full and then you can do that changes on the dashboard. Never tried
https://developer.cisco.com/meraki/api/#!create-organization-admin
There is no way an API can exist to enable API access.
No such endpoint exists, or will ever exist.
I understand your problem, but you are unfortunately in a paradox 😔
You're trying to tell your orgs to do something with the APIs, but how could this ever be possible when the APIs aren't enabled?
Now it would be theoretically awesome if there was one such API touchpoint that acted as kind of gate for the other touchpoints, but the security risk would be too immense for this to ever happen and it also probably wouldn't make sense 😄
I'm afraid you'll have to do this one thing the old school way!
Well, I thought that once I have the master account for managing multiple Orgs under MSP portal, I could just use the API key of the MSP to enable all the children Orgs.
Sure, I will do the old school way. Thanks 😊
You can now enable API on orgs via API, as long as you are an org admin on those organizations where you'd like to enable API.
See: https://developer.cisco.com/meraki/api-v1/#!update-organization
It's not a valid security concern.