Thanks for the reply! I'm using Powershell and I modified your call and it worked. I'm using a Powershell Module that was created by someone on this board. I don't remember who that is, my apologies for not attributing. This module didn't have the syslog call in a cmdlet so I added it. function Get-MerakiSyslog { param ( [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] [String] $api_key, [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] # [String] $networkId ) $api = @{ "endpoint" = 'https://api.meraki.com/api/v0' } $header = @{ "X-Cisco-Meraki-API-Key" = $api_key "Content-Type" = 'application/json' } $api.url = '/networks/$networkId/syslogServers' $uri = $api.endpoint + $api.url [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $request = Invoke-RestMethod -Method GET -Uri $uri -Headers $header return $request } Export-ModuleMember -Function Get-MerakiSyslog I then call the cmdlet like so: Get-MerakiSyslog -api_key "**********" -networkID "N_660903245316689202" This returns a 404.
... View more