Main Site HUB Security Scorecard API 6.1 Get a list of all your portfolios

HUB

6.1 Get a list of all your portfolios

Get A List of All Your Portfolios

SecurityScorecard allows you to manage your portfolios via an API. You can create, update, and delete portfolios as well as get a list of all your current portfolios.This API endpoint allows you to get a list of all your current portfolios. You can check out the full specification for this endpoint here

Resource URI

/portfolios

Parameters:

Name Required Description
No parameters

Sample Code:


            curl -X GET \
                https://api.securityscorecard.io/portfolios/ \
                -H 'Accept: application/json' \
                -H 'Authorization: Token <Your API Key>' \
                -H 'Content-Type: application/json' \
                -H 'cache-control: no-cache'
        

Sample Response:


{
    "entries": [
        {
            "id": "5a9f1cde564fa4002e2b5c04",
            "name": "[email protected]",
            "privacy": "private",
            "read_only": true
        },
        {
            "id": "548761a5e4b07b1a72a94fa7",
            "name": "Critical Vendors - R&D Org",
            "privacy": "shared",
            "read_only": true
        },
        {
            "description": "All vendors used by the finance department.",
            "id": "5c1bd49660b229ed0f9458e4",
            "name": "Finance Dept. Vendors",
            "privacy": "shared"
        }
    ],
    "total": 3
}