When I used the page https://developers.miro.com/reference/get-logs to test my app, I have this error message :
"message": "Organization not found",
My request is :
$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
The audit logs API is available only for Miro teams that are part of the Enterprise plan. In which team are you trying this developer app?
Thank you for your answer !
I am using the team named “Dev Team”, how can I check if it is in the Enterprise plan ?
Thanks I change the Team, It works correctly now :)
Have a good day