Feb 12 2020
1:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 12 2020
1:03 PM
308 - Create organization Admin API
Hi,
i would like to create a couple of admin in the dashboard with the API.
I try with the https://developer.cisco.com/meraki/api/ but i've always have a : 308 you are being redirected.
I don't receive email notification and the admin is not created
Example :
curl -X POST \ --url 'https://api.meraki.com/api/v0/organizations/MY_ORG_ID/admins' \ -H 'X-Cisco-Meraki-API-Key: MY_API_KEY'\ -H 'Accept: application/json' \ -H 'Content-type: application/json' \ --data-raw '{ "email": "myemail@gmail.com", "name": "Jon tron", "orgAccess": "none", "tags": [ { "tag": "my tag1", "access": "read-only" }, { "tag": "my tag2", "access": "read-only" } ] }'
Any idea ?
Solved! Go to solution.
Labels:
- Labels:
-
Dashboard API
1 Accepted Solution
Feb 12 2020
1:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 12 2020
1:49 PM
I think you might need the -L flag to tell curl to follow the redirect.
curl -L <rest of your stuff>
1 Reply 1
Feb 12 2020
1:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 12 2020
1:49 PM
I think you might need the -L flag to tell curl to follow the redirect.
curl -L <rest of your stuff>

Get notified when there are additional replies to this discussion.