Ping via Meraki (MX) API not working

SOLVED
John313
Here to help

Ping via Meraki (MX) API not working

Hi,

 

I'm trying to add a ping functionality on my dashboard for users who doesn't have access to the Meraki dashboard. Does the Ping function via API still works? I'm trying to execute this on my MX devices and I keep getting 403 error both using Postman and Meraki SDK. I could be doing something wrong. Thanks in advance.

 

https://api.meraki.com/api/v1/devices/{serial}/liveTools/ping

 

body:

{
    "target": "8.8.8.8",
    "count": 5
}
 
Result: 403Forbidden

 

Error using SDK:

meraki.exceptions.APIError: devices, createDeviceLiveToolsPing - 403 Forbidden,

 

 

1 ACCEPTED SOLUTION
sungod
Head in the Cloud

I just tested it on an MX, it worked.

 

Error 403 means you do not have permission, check the access rights of the user associated with the API key.

 

View solution in original post

2 REPLIES 2
sungod
Head in the Cloud

I just tested it on an MX, it worked.

 

Error 403 means you do not have permission, check the access rights of the user associated with the API key.

 

thank you @sungod

Get notified when there are additional replies to this discussion.