Enable API access endpoint

SOLVED
Abn
Conversationalist

Enable API access endpoint

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?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
AutomationDude
Getting noticed

Re: Enable API access endpoint

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!

View solution in original post

8 REPLIES 8
Inderdeep
A model citizen

Re: Enable API access endpoint

Check this link below if it helps 

https://documentation.meraki.com/General_Administration/Other_Topics/Cisco_Meraki_Dashboard_API#:~:t....

 

Regards
Inderdeep Singh
www.thenetworkdna.com
Abn
Conversationalist

Re: Enable API access endpoint

That doesn't help but I appreciate. I want the endpoint that can allow me to enable the dashboard API.

Inderdeep
A model citizen

Re: Enable API access endpoint

Check this one 

https://developer.cisco.com/meraki/api/#!get-organization-api-requests

 

Inderdeep_0-1617827302802.png

 

Regards
Inderdeep Singh
www.thenetworkdna.com
Abn
Conversationalist

Re: Enable API access endpoint

Per my problem, I am expecting a PUT/POST method. 

Inderdeep
A model citizen

Re: Enable API access endpoint

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

 

Regards
Inderdeep Singh
www.thenetworkdna.com
PhilipDAth
Kind of a big deal

Re: Enable API access endpoint

There is no way an API can exist to enable API access.

 

No such endpoint exists, or will ever exist.

AutomationDude
Getting noticed

Re: Enable API access endpoint

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!

View solution in original post

Abn
Conversationalist

Re: Enable API access endpoint

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 😊

Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.