Use Swagger API to list(export) Discovered Accounts

Hi Safeguard Community,

I'm facing error when I use Swagger API which is
{
"Code": 60094,
"Message": "Authorization is denied for this request.",
"InnerError": null
}

Unique ID of a Partition I typed 1 as the last time I did it.

I did authorization part and it's unlocked, note that I already applied the same in OSS# 314497.
I'm using this to get all discovered accounts.

Thanks

  • Hi,

    Please test this via a browser:

    - Go to URL Safeguard_IP/.../
    - Click on Authorize and login with a user with the required permission as (Must have AssetAdmin or Auditor permission or own the partition) - this could be a permission issue
    - Expand the following:

    GET ​/v3​/AssetPartitions​/{id}​/DiscoveredAccounts

    - Click Try it out
    - Type the Partition ID number
    - Click Execute.

    Thanks!