Set Authorization Global header in DevNET API browser

Solved
dmbooth
Getting noticed

Set Authorization Global header in DevNET API browser

Hi,

 

I'm being really dumb here, but in the API Reference in DevNet (https://developer.cisco.com/meraki/api-v1/overview/) when using the built-in API browser, how do you set your API Key as the Authorization Global header? It's been a while since I've used it and I want to use a different key, and no matter where I look the Authorization parameter is greyed out. Thanks.

 

1 Accepted Solution
RWelch
Kind of a big deal
Kind of a big deal

To set your API key as the Authorization header in the DevNet Meraki API browser, use the "X-Cisco-Meraki-API-Key" header. The Authorization parameter is greyed out because the tool expects you to set the API key in the global settings or a dedicated authentication field, not directly in the request headers.

Here's how to set or change your API key:
  1. Locate the "Global Authorization" or "Authentication" section in the DevNet API browser interface (usually at the top or in the sidebar).
  2. Enter your API key in the field labeled "X-Cisco-Meraki-API-Key" or "API Key."
  3. To use a different key, replace the existing key in this field.
  4. The API browser will automatically include this key in the header for all requests.

If the field is greyed out or missing, refresh the page or log out and back in to reset your session. The API key is set in the "X-Cisco-Meraki-API-Key" header, not the "Authorization" header.

For more details, see the official documentation: Cisco Meraki Dashboard API (see "API Requests" section).

To generate a new API key, go to your Meraki Dashboard profile under "API & Webhooks" > "API keys and access."
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

2 Replies 2
RWelch
Kind of a big deal
Kind of a big deal

To set your API key as the Authorization header in the DevNet Meraki API browser, use the "X-Cisco-Meraki-API-Key" header. The Authorization parameter is greyed out because the tool expects you to set the API key in the global settings or a dedicated authentication field, not directly in the request headers.

Here's how to set or change your API key:
  1. Locate the "Global Authorization" or "Authentication" section in the DevNet API browser interface (usually at the top or in the sidebar).
  2. Enter your API key in the field labeled "X-Cisco-Meraki-API-Key" or "API Key."
  3. To use a different key, replace the existing key in this field.
  4. The API browser will automatically include this key in the header for all requests.

If the field is greyed out or missing, refresh the page or log out and back in to reset your session. The API key is set in the "X-Cisco-Meraki-API-Key" header, not the "Authorization" header.

For more details, see the official documentation: Cisco Meraki Dashboard API (see "API Requests" section).

To generate a new API key, go to your Meraki Dashboard profile under "API & Webhooks" > "API keys and access."
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.
dmbooth
Getting noticed

Thanks @RWelch

Get notified when there are additional replies to this discussion.