Issue Accessing GET /v4/Assets via Swagger in Safeguard Privileged Passwords

Hello Safeguard Community,

I'm trying to generate an access request via Swagger. To do this, I first need to list the assets I have access to.

I’ve successfully connected via Swagger and was able to list my current active access requests using:

GET /v4/AccessRequests

The issue arises when I try to access:

GET /v4/Assets

The response I receive is:

{ "Code": 60108, "Message": "Authorization is required for this request.", "InnerError": null }

With the following headers:

content-language: en-US content-length: 88 content-security-policy: object-src 'none'; img-src 'self' data:; font-src 'self'; script-src 'self' content-type: application/json; charset=utf-8 date: Thu, 29 Jan 2026 16:59:04 GMT referrer-policy: same-origin strict-transport-security: max-age=63072000; includeSubDomains; preload vary: Origin x-content-type-options: nosniff x-frame-options: DENY x-licensecode: PasswordManagement; LicenseUsageExceeded; 2025-07-02T17:30:29.4983542Z x-licensewarning: License for PasswordManagement usage exceeded x-tokenlifetimeremaining: 1341 x-xss-protection: 1; mode=block

The SPP version is 8.0.1

Do I need any specific permissions to access the assets endpoint, or could there be another reason I’m getting this authorization error?

Thank you in advance for any guidance!

Best regards,

 

  • Hello Juanmanuel,

    To get the asset list with swagger you have to have the appropriate role assigned to you. 

    Edit: You can work with following role:

    Application Auditor (Read Only)

    - Asset


    Best regards,

    Darko