Hello,
When I used the page https://developers.miro.com/reference/get-logs to test my app, I have this error message :
{
"status": 404,
"code": "notFound",
"message": "Organization not found",
"type": "error"
}
My request is :
$headers=@{}
$headers.Add("Accept", "application/json")
$headers.Add("Authorization", "Bearer I mask it it is better ")
$response = Invoke-RestMethod -Uri 'https://api.miro.com/v1/audit/logs?createdAfter=2022-08-01T09%3A45%3A00.000%2B02%3A00&createdBefore=2022-08-01T10%3A45%3A00.000%2B02%3A00&limit=10&offset=0' -Method GET -Headers $headers
My app has the auditlogs:read role as requested and I am admin.
Do you have an idea why it is not working ?
Thanks in advance
Regards