Problem accessing external account using accounts/switch endpoint
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-14-2022 08:43 AM
Hello everyone, I've been having some issues when implementing the new API on my captive portal application and haven't found a way to solve it.
The account I'm trying to get devices info from is an external account from the one we use for CWP clients management, and by using the /account/external endpoint I can get it's Id and info as intended
but when I try to use the account/switch endpoint to change into it and retrieve that account info, I get the API access is disabled error.
I tried searching on the API docs but had no luck, I'm looking for a way to grant API access to the CWP management account to switch and access the devices on this account. I can't make a new account as administrator of the external account because of company reasons. Thanks in advance
The account I'm trying to get devices info from is an external account from the one we use for CWP clients management, and by using the /account/external endpoint I can get it's Id and info as intended
[
{
"id": "ACCOUNT_ID",
"create_time": "2022-01-14T12:56:23.000+0000",
"update_time": "2022-01-14T12:56:23.000+0000",
"name": "NAME",
"alias": "NAME",
"active": true,
"data_center": "DATACENTER"
}
]
but when I try to use the account/switch endpoint to change into it and retrieve that account info, I get the API access is disabled error.
{
"error_code": "PERMISSION_DENIED",
"error_id": "ERROR_ID",
"error_message": "PERMISSION_DENIED: API access is disabled"
}
I tried searching on the API docs but had no luck, I'm looking for a way to grant API access to the CWP management account to switch and access the devices on this account. I can't make a new account as administrator of the external account because of company reasons. Thanks in advance
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-20-2022 01:17 PM
Thanks for letting us know the link wasn't working for you Gabriel, we've made the same guide in to a KB article that you can find on our portal now: https://extremeportal.force.com/ExtrArticleDetail?an=000102173
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-17-2022 02:00 PM
Hi Gabriel,
By default, external admins do not have API access. This must be granted by a local admin or an external admin that has API permissions. I have attached a guide that includes steps to rectify this on a admin by admin basis. If you would like to do this for all external admins of a VIQ, you can follow the instructions at the following link: https://extremeportal.force.com/ExtrArticleDetail?an=000102173
By default, external admins do not have API access. This must be granted by a local admin or an external admin that has API permissions. I have attached a guide that includes steps to rectify this on a admin by admin basis. If you would like to do this for all external admins of a VIQ, you can follow the instructions at the following link: https://extremeportal.force.com/ExtrArticleDetail?an=000102173
