Dev hub issue

Solved
Adrian4
Head in the Cloud

Dev hub issue

Happy New Year everyone,

 

I am trying to use the Dev Hub API to check the API requests for my org to troubleshoot an issue but the Auth header seems to be greyed out so I ant put my key in 😞

I tried just adding a new Auth field but it didn't work. Any idea what the issue is?


https://developer.cisco.com/meraki/api-v1/get-organization-api-requests-overview/

Adrian4_0-1704187584065.png

 

1 Accepted Solution
Ryan_Miles
Meraki Employee
Meraki Employee

Add 'X-Cisco-Meraki-API-Key' as another Header

 

02_00_54.jpg

 

I'll add that this might only work temporarily as the goal is to not allow user's API keys to be entered into the site for security reasons. 

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.

View solution in original post

5 Replies 5
Ryan_Miles
Meraki Employee
Meraki Employee

I believe this is due to what's mentioned here under point #4 

 

https://developer.cisco.com/meraki/whats-new/2023/#highlights-1

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
Adrian4
Head in the Cloud

I can see point 4

 

API interactive Documentation update

  • Improved security by providing test keys to run request against the API and restricting user sensitive API keys to be pasted in the documentation.


but i cant see any actual information about it - if they are using some test keys - how come it doesn't work? Is there something specific i am supposed to do?

cheers

Ryan_Miles
Meraki Employee
Meraki Employee

Add 'X-Cisco-Meraki-API-Key' as another Header

 

02_00_54.jpg

 

I'll add that this might only work temporarily as the goal is to not allow user's API keys to be entered into the site for security reasons. 

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
Ryan_Miles
Meraki Employee
Meraki Employee

And the test key idea if to only allow certain calls to work against the sandbox org. Example this call https://developer.cisco.com/meraki/api-v1/get-organizations/

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
Adrian4
Head in the Cloud

ah, cheers

Get notified when there are additional replies to this discussion.