cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7838
Views
9
Helpful
7
Replies

Read only access to API

flyingframes
Level 3
Level 3

Is there such a thing as providing read only access to APIs?

I guess if an API key can be set to read only, then it should be able to perform only GET operations. Is this possible with Meraki?

We are trying to give an app access to perform only GET operations!

1 Accepted Solution

Accepted Solutions

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

Give the user account read-only privileges. Will it restrict the user from being able to use POST ? Not sure

View solution in original post

7 Replies 7

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

Give the user account read-only privileges. Will it restrict the user from being able to use POST ? Not sure

Thanks. Just tried, this trick worked. Created a read only user and the API key created from it is only doing read only operations.

Do bear in mind that 'read-only' access is not totally read-only - a read-only account still allows port-cycling and cable-test operations to be performed on switch ports.

For instance, cycling a port will result in downstream devices will losing connectivity and PoE.

We had a customer find this out the hard way.

I.e. you still need to be careful about granting read-only permission and caution users about these operations.

Hellos. Not sure about how to proceed. If I create a read-only admin, Can he create an API Key?
And if API Key was created by a full admin, even if a Log as a read-only admin on dashboard, API key is same one, right?

How did you proceed?

Thanks in advance.

obrigg
Meraki Employee All-Star
Meraki Employee All-Star

Any user can generate an API key. The API key represents the user and their permissions - read-only user will have read-only privileges, read-write user will have read-write privileges, etc’.

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

If I create a read-only admin, Can he create an API Key? Yes.

And if API Key was created by a full admin, even if a Log as a read-only admin on dashboard, API key is same one, right? No , API key are created per user , but it can be shared ( but please don't do that )

obrigg
Meraki Employee All-Star
Meraki Employee All-Star

Also, as soon as the user permission changes (read to write, write to read, network admin to org admin, etc’) - their API key’s privileges will reflect the change too.