Home > Forum > General > API - where to configure global admin right

API - where to configure global admin right
0

Hello, I have a question. I'm a Webcon admin.

I am trying to test API and I get this error response from Webcon API:

{
"type": "InsufficientAccountPermissions",
"description": "Global admin permissions required",
"errorGuid": "54d9ccb7-183e-484f-ba73-7f1d0d8ec794"
}

my endpoint in request via POSTMAN
/api/data/beta/admin/db/1/businessentities

my Webcon verion is: 2021.1.5.307

when I do this request :/api/data/
I got this response, so it should work in my version.


{
"apiVersions": [
{
"version": "2.0",
"url": "/api/data/v2.0",
"loginUrls": [
"/api/login",
"/api/oauth2/token"
]
},
{
"version": "3.0",
"url": "/api/data/v3.0",
"loginUrls": [
"/api/login",
"/api/oauth2/token"
]
},
{
"version": "beta",
"url": "/api/data/beta",
"loginUrls": [
"/api/login",
"/api/oauth2/token"
]
}
]
}

I checked my admin panel in WEBCON BPS and everything looks ok.

MVP

Hi Michał,

are you using impersonation or do you authenticate the application itself? In the later case you should check whether system administrator permissions have been granted to th login/ BPS ID of the application in designer studio.

https://community.webcon.com/posts/post/webcon-bps-designer-studio-privileges/44

Remark: I haven't checked it as we don't have any 2021 version and under 2022 the API Application registration changed. At least I think it was with 2022. :)

Best regards,
Daniel