Can't get AP info using Open API
I'm using Postman to interact with OC300 by Open API, so far I have managed to get site and device's information and also renamed devices, but when I try to get information on Access Points I get the following response:
"errorCode": -1505,
"msg": "The current user does not have permissions to access this site."
The user account to obatin the access code and token has owner privileges in the controller but still any action aimed to APS returns the same message.
My code is as follows:
curl --location --globoff {api_address}/openapi/v1/{omada_id}/sites/{site_id}/aps/{ap-macadd}/wired-uplink' \
--header 'Content-Type: application/json' \
--header 'Authorization: AccessToken={token}' \
--header 'Cookie: TPOMADA_SESSIONID={session_id}'
Any input will be much appreciated